Scene.ActivePass
 
 
 

Scene.ActivePass

Description

Returns the currently active Render Pass object. A render pass creates a picture layer of a scene that can be composited with any other pass(es) to create a complete image. Passes also allow you to quickly re-render a single layer without re-rendering the entire scene.

C# Syntax

// get accessor
Pass rtn = Scene.ActivePass;

Examples

Python Example

#
# This example demonstrates how to get the current pass
#
Application.NewScene( "", 0 )
oCurrentPass = Application.ActiveProject.ActiveScene.ActivePass
Application.LogMessage( oCurrentPass )
# Expected result:
#INFO : Passes.Default_Pass

See Also

Scene.Passes Pass PassCollection GetCurrentPass CreatePass SICreatePass DeleteCurrentPass