IRetime
Function
This function is an invisible function created in the Shake GUI whenever
you adjust an image reading or generation clip like FileIn or Grad.
It is used to shift the start frame, end frame and repeating modes for
the clip. Like Mask, this node will not appear in the Node
View when read in, but will appear as a timing subtree in
the Image node.
If you remove the IRetime line in a script, the clip's numbering
will be taken from the normal FileIn syntax to determine the start
frame.
Parameters
|
Type
|
Defaults
|
Function
|
timeShift |
int |
0 |
The offset in time that the clip starts at.
|
start/endFrame |
int |
autoInPoint,
autoOutPoint-1 |
The start and end frames for the clip. Note
that the endFrame is the last frame defined for the FileIn (whereas
the outPoint describes the frame at which the clip is out). The value
stored in the script is the outPoint (endFrame+1) although both are
viewable and editable in the FileIn parameters. |
in/outMode |
string |
"Freeze",
"Freeze" |
This will affect the behavior of the frames outside of the clips
range, so you can repeat frames, clips, or have just blackness.
Possible modes are:
"Black" This inserts black frames.
"Freeze" This will freeze the first or last frame.
"Repeat" This will repeat the clip.
"Mirror" This will reverse the clip, then reverse it back
again, repeating the cycle
|
Synopsis
IRetime(
image,
int timeShift,
int inPoint,
int outPoint,
const char * inMode,
const char * outMode
);
Script
image = Mask(
image,
timeShift,
startFrame,
endFrame,
"inMode",
"outMode"
);
|