Crops the active clip on the left side, right side, or both sides.
cropClip used with no flags crops the active clip to the current play range In and Out. When -curTime
is used you must specify either -leftOnly
or -rightOnly
.
Data manipulators
cropClip [-leftOnly] [-rightOnly] [-curTime] |
None
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
leftOnly | 0 | — | rightOnly | Crops the beginning of the active clip to the start of the play range (or to the current time, if -curTime is specified) |
rightOnly | 0 | — | leftOnly | Crops the beginning of the active clip to the start of the play range (or to the current time, if -curTime is specified) |
curTime | 0 | — | — | Used with either the -leftOnly or rightOnly flags, will use the current time rather than one of the play range ends as the crop time. |
void
// Create a clip and a Marker create Clip "clip1"; // Set the play range playRange 20 80; // Crop the clip cropClip -leftOnly ; setTime 50; cropClip -rightOnly -curTime; |