シーンに関連付けれらている Pass オブジェクトを含む PassCollection を戻します。
// get accessor PassCollection rtn = PassContainer.Passes; |
' ' 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 |