PassCollection
 
 
 

PassCollection

Introduced

v4.0

Description

A collection of Pass objects that represent the passes in the Scene.

Properties

Count operator Item operator    
       

Examples

JScript Example

/*
This example demonstrates how to access the passes collection 
and get the first pass (the default) in the collection.
*/
var oPasses = ActiveProject.ActiveScene.Passes;
LogMessage( ClassName(oPasses) );               // Returns "PassCollection"
LogMessage( oPasses(0) );                       // Returns "Passes.Default_Pass"
LogMessage( ClassName(oPasses(0)) );            // Returns "Pass"

See Also

Scene.Passes PassContainer Scene.PassContainer