Go to: Synopsis. Return value. Keywords. Related. Flags. MEL examples.
timeEditorClipOffset [-applyToAllRoots] [-clipId int] [-matchClipId int] [-matchDstTime time] [-matchObj name] [-matchOffsetRot] [-matchOffsetTrans] [-matchPath string] [-matchRotOp int] [-matchSrcTime time] [-matchTransOp int] [-offsetTransform] [-path string] [-resetMatch int] [-resetMatchPath string] [-rootObj string] [-upVectorX float] [-upVectorY float] [-upVectorZ float]
timeEditorClipOffset is undoable, queryable, and editable.
This command is used to compute an offset to apply on a source clip in order to automatically align it to a destination clip at a specified match element. For this command to work, offset objects must be specified for the character.None
In query mode, return type is based on queried flag.
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-applyToAllRoots(-atr)
|
|
|||
|
||||
-clipId(-id)
|
int
|
|||
|
||||
-matchClipId(-mci)
|
int
|
|||
|
||||
-matchDstTime(-mdt)
|
time
|
|||
|
||||
-matchObj(-mob)
|
name
|
|||
|
||||
-matchOffsetRot(-mor)
|
|
|||
|
||||
-matchOffsetTrans(-mot)
|
|
|||
|
||||
-matchPath(-mpt)
|
string
|
|||
|
||||
-matchRotOp(-mro)
|
int
|
|||
|
||||
-matchSrcTime(-mst)
|
time
|
|||
|
||||
-matchTransOp(-mto)
|
int
|
|||
|
||||
-offsetTransform(-oft)
|
|
|||
|
||||
-path(-pt)
|
string
|
|||
|
||||
-resetMatch(-rsm)
|
int
|
|||
|
||||
-resetMatchPath(-rmp)
|
string
|
|||
|
||||
-rootObj(-rob)
|
string
|
|||
|
||||
-upVectorX(-upx)
|
float
|
|||
|
||||
-upVectorY(-upy)
|
float
|
|||
|
||||
-upVectorZ(-upz)
|
float
|
|||
|
Flag can appear in Create mode of command | Flag can appear in Edit mode of command |
Flag can appear in Query mode of command | Flag can be used more than once in a command. |
// Match position and rotation // timeEditorClipOffset -clipId 1 -matchClipId 2 -matchObj cube -matchSrcTime 45 -matchDstTime 45 -matchTransOp 0 -matchRotOp 1 -applyToAllRoots; // Match position and rotation by clip paths // timeEditorClipOffset -path "composition1|track1|clip1" -matchPath "composition1|track1|clip2" -matchObj cube -matchSrcTime 45 -matchDstTime 45 -matchTransOp 0 -matchRotOp 1 -applyToAllRoots;