AddFxOp

導入

v3.0

カテゴリ

レンダリング

詳細

イメージ オペレータを FxTree に追加します。

スクリプト構文

oReturn = AddFxOp( [FxTree], PresetName );

戻り値

FxOperator

パラメータ

パラメータ タイプ 詳細
FxTree 文字列 または FxTree FxTree のオブジェクト ポインタまたはオブジェクト名

デフォルト値: 現在選択されている値

注: 現在の選択が有効な FxTree でないと、エラーが発生します。

PresetName Fx オペレータ プリセット 定義済みオペレータの名前。 これは、組み込みのエフェクトの名前またはディスク上のファイル(パス付き)のいずれかです。

VBScript の例

' This example creates an FxTree, adds some operators to it
' and displays the operators in the tree
set oTree = CreateFxTree()
AddFxOp oTree, "File Input"
AddFxOp oTree, "Noise"
AddFxOp oTree, "EdgeDetect"
for each oOperator in oTree.FxOperators
        Application.LogMessage "Name of Fx Operator: " & oOperator.Name
next
' Output of above script:
'INFO : "Name of Fx Operator: FileInput"
'INFO : "Name of Fx Operator: Noise"
'INFO : "Name of Fx Operator: EdgeDetect"