PassContainer.Passes
 
 
 

PassContainer.Passes

Description

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

C# Syntax

// get accessor
PassCollection rtn = PassContainer.Passes;

Examples

VBScript Example

' 
' This example demonstrates how to create and access scene passes
' 
NewScene , false
' First create some extra passes
Dim oPassContainer
set oPassContainer = ActiveProject.ActiveScene.PassContainer
oPassContainer.AddPass "Caustic_Pass", "TestPass1"
oPassContainer.AddPass "Lens_Flare_Pass", "TestPass2"
set oPasses = oPassContainer.Passes
for each oPass in oPasses
        Application.LogMessage oPass
next
' Expected result:
' INFO : Passes.RenderOptions
' INFO : Passes.HardwareRenderer
' INFO : Passes.mentalray

See Also

Scene.ActivePass Scene.PassContainer Pass PassCollection PassContainer PassContainer.AddPass GetCurrentPass CreatePass DeleteCurrentPass PassPresets