FxOperator.IsConnectionFlagSupported

説明

FxOperator の指定された接続が特定のフラグをサポートする場合は、True を戻します。

スクリプト 構文

oBoolean = FxOperator.IsConnectionFlagSupported( Index, FlagID );

戻り値

Boolean

パラメータ

パラメータ タイプ 詳細
Index Long 接続のインデックス
FlagID Integer フラグのタイプ

指定可能な値:

説明:

1 Invert フラグを指定します。
2 Selectedフラグを指定します。

VBScript の例

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

関連項目

FxTree