IsMaskConnection (FxOperator)

Description

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

Scripting Syntax

FxOperator.IsMaskConnection( Index )

C# Syntax

Boolean FxOperator.IsMaskConnection( Int32 in_nIndex );

Parameters

Parameter

Type

Description

Index

Long

Index of the connection

Return Value

Boolean

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



Autodesk Softimage v7.5