FxOperator.IsInputConnection

Description

Returns true if the specified connection of the FxOperator is an input.

C# Syntax

Boolean FxOperator.IsInputConnection( Int32 in_nIndex );

Scripting Syntax

oBoolean = FxOperator.IsInputConnection( Index );

Return Value

Boolean

Parameters

Parameter Type Description
Index Long Index of the connection

Examples

VBScript Example

'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? : " & oFxOp.IsInputConnection(Cnx)
next

See Also

FxTree