FxOperator.IsMaskConnection

Description

Returns true if the specified connection of the FxOperator is a mask input.

C# Syntax

Boolean FxOperator.IsMaskConnection( Int32 in_nIndex );

Scripting Syntax

oBoolean = FxOperator.IsMaskConnection( Index );

Return Value

Boolean

Parameters

Parameter Type Description
Index Long Index of the connection

Examples

VBScript Example

set oRoot = ActiveProject.ActiveScene.Root
set oTree = oRoot.AddFxTree
set oFxOp = oTree.AddImageOperator("Noise")
for Cnx = 0 to oFxOp.ConnectionCount - 1
	LogMessage oFxOp.GetConnectionName(Cnx) & " is an input mask? : " & oFxOp.IsMaskConnection(Cnx)
next

See Also

FxTree