ジャンプ先: 概要. 戻り値. キーワード. 関連. フラグ. Python 例.
timeEditorClipOffset([applyToAllRoots=boolean], [clipId=int], [matchClipId=int], [matchDstTime=time], [matchObj=name], [matchOffsetRot=boolean], [matchOffsetTrans=boolean], [matchPath=string], [matchRotOp=int], [matchSrcTime=time], [matchTransOp=int], [offsetTransform=boolean], [path=string], [resetMatch=int], [resetMatchPath=string], [rootObj=string], [upVectorX=float], [upVectorY=float], [upVectorZ=float])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
timeEditorClipOffset は、取り消し可能、照会可能、および編集可能です。
このコマンドは、目的のクリップの指定した一致要素に自動的に位置合わせるためにソース クリップに適用するオフセットの計算に使用します。このコマンドが動作するためには、キャラクタにオフセット オブジェクトを指定する必要があります。なし
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
applyToAllRoots(atr)
|
boolean
|
|
||
|
||||
clipId(id)
|
int
|
|
||
|
||||
matchClipId(mci)
|
int
|
|
||
|
||||
matchDstTime(mdt)
|
time
|
|
||
|
||||
matchObj(mob)
|
name
|
|
||
|
||||
matchOffsetRot(mor)
|
boolean
|
|
||
|
||||
matchOffsetTrans(mot)
|
boolean
|
|
||
|
||||
matchPath(mpt)
|
string
|
|
||
|
||||
matchRotOp(mro)
|
int
|
|
||
|
||||
matchSrcTime(mst)
|
time
|
|
||
|
||||
matchTransOp(mto)
|
int
|
|
||
|
||||
offsetTransform(oft)
|
boolean
|
|
||
|
||||
path(pt)
|
string
|
|
||
|
||||
resetMatch(rsm)
|
int
|
|
||
|
||||
resetMatchPath(rmp)
|
string
|
|
||
|
||||
rootObj(rob)
|
string
|
|
||
|
||||
upVectorX(upx)
|
float
|
|
||
|
||||
upVectorY(upy)
|
float
|
|
||
|
||||
upVectorZ(upz)
|
float
|
|
||
|
||||
import maya.cmds as cmds # Match position and rotation # cmds.timeEditorClipOffset( clipId=1, matchClipId=2, matchObj="cube", matchSrcTime=45, matchDstTime=45, matchTransOp=0, matchRotOp=1, applyToAllRoots=1 ) # Match position and rotation by clip paths # cmds.timeEditorClipOffset( path='composition1|track1|clip1', matchPath='composition1|track1|clip2', matchObj="cube", matchSrcTime=45, matchDstTime=45, matchTransOp=0, matchRotOp=1, applyToAllRoots=1 )