ジャンプ先: 概要. 戻り値. 関連. フラグ. MEL 例.

概要

filterButterworthCtx [-apply] [-cutoffFrequency float] [-endTime time] [-exists] [-history boolean] [-image1 string] [-image2 string] [-image3 string] [-keepKeysOnFrame boolean] [-name string] [-samplingRate float] [-selectedKeys boolean] [-startTime time] contextName

filterButterworthCtx は、取り消し可能、照会可能、および編集可能です。

Butterworth フィルタのコンテキストを作成/編集します。このコンテキストを使用すると、アニメーション カーブのセットに関する Butterworth フィルタをインタラクティブにプレビュー/編集できます。

戻り値

stringコンテキスト名

照会モードでは、戻り値のタイプは照会されたフラグに基づきます。

関連

filterCurve

フラグ

apply, cutoffFrequency, endTime, exists, history, image1, image2, image3, keepKeysOnFrame, name, samplingRate, selectedKeys, startTime
ロング ネーム(ショート ネーム) 引数タイプ プロパティ
-apply(-a) edit
指定した場合は、現在のコンテキストの状態を確定して、この操作のコマンドを記録します。これは、現在のツールのコンテキストを終了しないで、ツールのアクションを完了する操作と同等です。
-cutoffFrequency(-cof) float queryedit
Butterworth フィルタのカットオフ周波数の設定を指定します。既定値は 7.0 です。
-endTime(-e) time queryedit
このフィルタの時間範囲の終了時間を指定します。この時間範囲は、selectedKeys が false の場合に使用されます。
-exists(-ex) create
指定したオブジェクトが存在するかどうかによって、true または false を返します。他のフラグは無視されます。
-history(-ch) boolean create
ツール コマンドの場合、対象となるツールのコンストラクション ヒストリをオンにします。
-image1(-i1) string createqueryedit
コンテキストに関連付けられているツールを表す 3 つの可能なアイコンの中の最初のアイコンです。
-image2(-i2) string createqueryedit
コンテキストに関連付けられているツールを表す 3 つの可能なアイコンの中の 2 番目のアイコンです。
-image3(-i3) string createqueryedit
コンテキストに関連付けられているツールを表す 3 つの可能なアイコンの中の 3 番目のアイコンです。
-keepKeysOnFrame(-kof) boolean queryedit
true の場合、Butterworth フィルタは、指定したサンプリング レートで出力キーをフレーム全体に再配置します。
-name(-n) string create
これがツール コマンドの場合、ツールに適切に名前を付けます。
-samplingRate(-sr) float queryedit
Butterworth フィルタのサンプリング レートの設定を指定します。既定値は 30.0 です。
-selectedKeys(-sk) boolean queryedit
true の場合は、選択したキーに適用するフィルタを設定します。それ以外の場合、フィルタは指定した時間範囲に適用されます。既定はオンです。
-startTime(-s) time queryedit
このフィルタの時間範囲の開始時間を指定します。この時間範囲は、selectedKeys が false の場合に使用されます。

フラグはコマンドの作成モードで表示できます フラグはコマンドの編集モードで表示できます
フラグはコマンドの照会モードで表示できます コマンド内でフラグを複数回使用できます。

MEL 例

// Create a context
string $ctx = `filterButterworthCtx`;

// Activate the tool context
setToolTo $ctx;

// Adjust the Butterworth cutoff frequency to selected keys.
filterButterworthCtx -e -sk 1 -cof 3.0 $ctx;

// Apply the current settings to the selected curves.
filterButterworthCtx -e -apply $ctx;