Scene.Passes
 
 
 

Scene.Passes

Description

Returns a PassCollection containing the Pass objects associated with the scene.

C# Syntax

// get accessor
PassCollection rtn = Scene.Passes;

Examples

VBScript Example

' 
' This example demonstrates how to create and access scene passes
' 
NewScene , false
' First create some extra passes
CreatePass , "TestPass1"
CreatePass , "TestPass2"
set oPasses = ActiveProject.ActiveScene.Passes
for each oPass in oPasses
LogMessage oPass
next
' Expected result:
'INFO : Passes.Default_Pass
'INFO : Passes.TestPass1
'INFO : Passes.TestPass2

See Also

Scene.ActivePass Scene.PassContainer Pass PassCollection PassContainer GetCurrentPass CreatePass SICreatePass DeleteCurrentPass