ジャンプ先: 概要. 戻り値. 関連. フラグ. MEL 例.
scaleKey [-animation string] [-attribute string] [-autoSnap boolean] [-controlPoints boolean] [-float floatrange] [-floatPivot float] [-floatScale float] [-hierarchy string] [-includeUpperBound boolean] [-index uint] [-newEndFloat float] [-newEndTime time] [-newStartFloat float] [-newStartTime time] [-scaleSpecifiedKeys boolean] [-shape boolean] [-time timerange] [-timePivot time] [-timeScale float] [-valuePivot float] [-valueScale float]
objects
scaleKey は、取り消し可能、照会不可能、および編集不可能です。
このコマンドは、キーセット上に作用します。キーセットは、1 つまたは複数のアニメーション カーブ上の指定したタイム レンジ内のキー グループとして定義されます。 キーセットを構成するアニメーション カーブは、「-animation」フラグの値に依存します。int | スケールが実行されたカーブの数。 |
ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
---|---|---|---|---|
-animation(-an)
|
string
|
|||
|
||||
-attribute(-at)
|
string
|
|||
|
||||
-autoSnap(-asp)
|
boolean
|
|||
|
||||
-controlPoints(-cp)
|
boolean
|
|||
|
||||
-float(-f)
|
floatrange
|
|||
|
||||
-floatPivot(-fp)
|
float
|
|||
|
||||
-floatScale(-fs)
|
float
|
|||
|
||||
-hierarchy(-hi)
|
string
|
|||
|
||||
-includeUpperBound(-iub)
|
boolean
|
|||
|
||||
-index(-in)
|
uint
|
|||
|
||||
-newEndFloat(-nef)
|
float
|
|||
|
||||
-newEndTime(-net)
|
time
|
|||
|
||||
-newStartFloat(-nsf)
|
float
|
|||
|
||||
-newStartTime(-nst)
|
time
|
|||
|
||||
-scaleSpecifiedKeys(-ssk)
|
boolean
|
|||
|
||||
-shape(-s)
|
boolean
|
|||
|
||||
-time(-t)
|
timerange
|
|||
|
||||
-timePivot(-tp)
|
time
|
|||
|
||||
-timeScale(-ts)
|
float
|
|||
|
||||
-valuePivot(-vp)
|
float
|
|||
|
||||
-valueScale(-vs)
|
float
|
|||
|
フラグはコマンドの作成モードで表示できます | フラグはコマンドの編集モードで表示できます |
フラグはコマンドの照会モードで表示できます | コマンド内でフラグを複数回使用できます。 |
// Keys on animation curves are identified by either // their time values or their indices. Times and indices can // be given individually or as part of a list or range. // -time 10pal means the key at frame 10 (PAL format). // -time 1.0sec -time 15ntsc -time 20 means the keys at time 1.0 second, frame 15 (in NTSC format), and time 20 (in the currently defined global time unit). // -time "10:20" means all keys in the range from 10 to 20, inclusive, in the current time unit. // Omitting one end of a range means "go to infinity", as in the following examples: // -time "10:" means all keys from time 10 (in the current time unit) onwards. // -time ":10" means all keys up to (and including) time 10 (in the current time unit). // -time ":" is a short form to specify all keys. // -index 0 means the first key of each animation curve. (Indices are 0-based.) // -index 2 -index 5 -index 7 means the 3rd, 6th, and 8th keys. // -index "1:5" means the 2nd, 3rd, 4th, 5th, and 6th keys of each animation curve. // Scale keyframes from frame 10 to 20 of nurbsSphere1's translateX // to fill frames 10 to 30. // scaleKey -time "10:20" -newStartTime 10 -newEndTime 30 -attribute tx nurbsSphere1; // Scale all the animation of the active objects // (range 0-30) to fill range 0 to 60. // scaleKey -time "0:30" -timeScale 2 -timePivot 0;