ジャンプ先: 概要. 戻り値. 関連. フラグ. MEL 例.
keyTangent [-absolute] [-animation string] [-attribute string] [-controlPoints boolean] [-float floatrange] [-global] [-hierarchy string] [-inAngle angle] [-inTangentType string] [-inWeight float] [-includeUpperBound boolean] [-index uint] [-ix float] [-iy float] [-lock boolean] [-outAngle angle] [-outTangentType string] [-outWeight float] [-ox float] [-oy float] [-pluginTangentTypes string] [-relative] [-shape boolean] [-stepAttributes boolean] [-time timerange] [-unify] [-weightLock boolean] [-weightedTangents boolean]
[objects]
keyTangent は、取り消し可能、照会可能、および編集可能です。
このコマンドは、キーセット上に作用します。キーセットは、1 つまたは複数のアニメーション カーブ上の指定したタイム レンジ内のキー グループとして定義されます。 キーセットを構成するアニメーション カーブは、「-animation」フラグの値に依存します。int | 接線が修正されたカーブの数。 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
---|---|---|---|---|
-absolute(-a)
|
|
|||
|
||||
-animation(-an)
|
string
|
|||
|
||||
-attribute(-at)
|
string
|
|||
|
||||
-controlPoints(-cp)
|
boolean
|
|||
|
||||
-float(-f)
|
floatrange
|
|||
|
||||
-global(-g)
|
|
|||
|
||||
-hierarchy(-hi)
|
string
|
|||
|
||||
-inAngle(-ia)
|
angle
|
|||
|
||||
-inTangentType(-itt)
|
string
|
|||
|
||||
-inWeight(-iw)
|
float
|
|||
|
||||
-includeUpperBound(-iub)
|
boolean
|
|||
|
||||
-index(-in)
|
uint
|
|||
|
||||
-ix(-ix)
|
float
|
|||
|
||||
-iy(-iy)
|
float
|
|||
|
||||
-lock(-l)
|
boolean
|
|||
|
||||
-outAngle(-oa)
|
angle
|
|||
|
||||
-outTangentType(-ott)
|
string
|
|||
|
||||
-outWeight(-ow)
|
float
|
|||
|
||||
-ox(-ox)
|
float
|
|||
|
||||
-oy(-oy)
|
float
|
|||
|
||||
-pluginTangentTypes(-ptt)
|
string
|
|||
|
||||
-relative(-r)
|
|
|||
|
||||
-shape(-s)
|
boolean
|
|||
|
||||
-stepAttributes(-sa)
|
boolean
|
|||
|
||||
-time(-t)
|
timerange
|
|||
|
||||
-unify(-uni)
|
|
|||
|
||||
-weightLock(-wl)
|
boolean
|
|||
|
||||
-weightedTangents(-wt)
|
boolean
|
|||
|
フラグはコマンドの作成モードで表示できます | フラグはコマンドの編集モードで表示できます |
フラグはコマンドの照会モードで表示できます | コマンド内でフラグを複数回使用できます。 |
// 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. // Set the in-tangent to spline for all keyframes // on an object between 1 and 2 seconds. // keyTangent -inTangentType spline -time "0sec:2sec" nurbsSphere1; // Set the angle and value for the out tangent of the // keyframe at time 5 of nurbsSphere1's translateX. // keyTangent -edit -time 5 -attribute translateX -absolute -outAngle 10 -outWeight 5 nurbsSphere1;