Returns true if the specified connection of the FxOperator supports a specific flag.
Boolean FxOperator.IsConnectionFlagSupported( Int32 in_nIndex, Int32 in_nFlagID ); |
oBoolean = FxOperator.IsConnectionFlagSupported( Index, FlagID ); |
| Parameter | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
| Index | Long | Index of the connection | ||||||
| FlagID | Integer | Type of flag
|
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) & " support Invert flag? : " & oFxOp.IsConnectionFlagSupported(Cnx, 1)
LogMessage oFxOp.GetConnectionName(Cnx) & " support Select flag? : " & oFxOp.IsConnectionFlagSupported(Cnx, 2)
next
|