PassContainer.Passes

説明

シーンに関連付けれらているPassオブジェクトを含むPassCollectionを戻します。

VBScript の例

' 
' 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

関連項目

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