ジャンプ先: 概要. 戻り値. 関連. フラグ. MEL 例.
 snapKey [-animation string] [-attribute string] [-controlPoints boolean] [-float floatrange] [-hierarchy string] [-includeUpperBound boolean] [-index uint] [-shape boolean] [-time timerange] [-timeMultiple float] [-valueMultiple float] 
animatedObject
      
snapKey は、取り消し可能、照会不可能、および編集不可能です。
このコマンドは、キーセット上に作用します。キーセットは、1 つまたは複数のアニメーション カーブ上の指定したタイム レンジ内のキー グループとして定義されます。 キーセットを構成するアニメーション カーブは、「-animation」フラグの値に依存します。| int | 時間スナップの不整合によってスナップされなかったキーを持つアニメーション カーブの数です。 | 
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
| -attribute(-at) | string |    | ||
| 
 | ||||
| -hierarchy(-hi) | string |   | ||
| 
 | ||||
| -shape(-s) | boolean |   | ||
| 
 | ||||
| -controlPoints(-cp) | boolean |   | ||
| 
 | ||||
| -index(-in) | uint |    | ||
| 
 | ||||
| -time(-t) | timerange |    | ||
| 
 | ||||
| -float(-f) | floatrange |    | ||
| 
 | ||||
| -includeUpperBound(-iub) | boolean |   | ||
| 
 | ||||
| -animation(-an) | string |   | ||
| 
 | ||||
| -timeMultiple(-tm) | float |   | ||
| 
 | ||||
| -valueMultiple(-vm) | float |   | ||
| 
 | ||||
|  フラグはコマンドの作成モードで表示できます |  フラグはコマンドの編集モードで表示できます | 
|  フラグはコマンドの照会モードで表示できます |  コマンド内でフラグを複数回使用できます。 | 
// Two ways to snap all keys on nurbsSphere1 to integer values. // snapKey -tm 1.0 nurbsSphere1; snapKey nurbsSphere1; // Snap active objects' keys between times 10 and 20 so that // they have times that are multiples of 0.5. // snapKey -t "10:20" -tm 0.5; // Snap active objects' keys between times 10 and 20 so that // they have times that are multiples of 0.5 and values that // are multiples of 1.0. // snapKey -t "10:20" -tm 0.5 -vm 1.0;