Sets the play Range.
If -start
is used then only the inTime
should be specified, the end time of the play range remains unchanged from the existing.
If -end
time is used then only outTime
should be specified, the start time of the play range remains unchanged from the existing.
Otherwise both the start and end time must be specified.
Playback control
animRange inTime outTime [-r] [-start] [-end] |
Name | Type | Required | Comments |
---|---|---|---|
inTime | integer | No (dependant) | Starting Time |
outTime | integer | No (dependant) | Ending Time |
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
r | 0 | — | — | Start and end times specified are relative to the existing playrange start and end times |
start | 0 | — | end | inTime is the start time, outTime is not specified |
end | 0 | — | start | outTime is the end Time, inTime is not specified |
void
// set the play Range to 50 -200 playRange 50 200; // set the start of the play Range to 50 playRange 50 -start; // set the end of the play Range to 200 playRange 200 -end; // when existing play range start is frame 50 // sets the start to 150 ( 50 + 100 ) playRange 100 -r -start; |