Scene.Passes

Scene.Passes

説明

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

C#構文

// get accessor

PassCollection rtn = Scene.Passes;

VBScript の例

' 

' 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

関連項目

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