FxTree.AddPassInputOperator

Description

Adds a new unconnected pass input FxOperator to the FxTree object. This can be used to automatically create a 'file input' FxOperator based on the image files of a rendered pass.

Scripting Syntax

oReturn = FxTree.AddPassInputOperator( Pass );

Return Value

FxOperator

Parameters

Parameter Type Description
Pass Pass Pass that will be associated with the new operator.

Examples

VBScript Example

'VBScript example
set oRoot = ActiveProject.ActiveScene.Root
set oTree = oRoot.AddFxTree
set oPass = GetValue("Passes.Default_Pass")
set oOp = oTree.AddPassInputOperator(oPass)