PassContainer.Passes

説明

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

C#構文

// get accessor

PassCollection rtn = PassContainer.Passes;

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