CookClip
Anything that lives on a video's timeline for a while. Pictures, sounds, rig clips, notes and camera shakes all start and stop the same way.
CookClip is the abstract base of everything in a CookVideo with an InPoint and an OutPoint: it shows or plays only while the playhead is between them. clip:IsActive(time) says whether it is on at that time, and clip:LocalTime(time) gives the time inside it. In the Cook window every clip moves, trims, slips and splits the same way.
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| InPoint | number | 0 to 1e+06 | The clip's start: it plays only while the playhead is between InPoint and OutPoint. |
| OutPoint | number | 0 to 1e+06 | The clip's end: it plays only while the playhead is between InPoint and OutPoint. |
Methods
| Name | Arguments | Returns | Description |
|---|---|---|---|
| IsActive | (time: number) | boolean | True when the clip covers the given time and its folders are enabled. |
| LocalTime | (time: number) | number | The clip's own time at the given time, Offset plus (time minus In) times Speed, so a trim keeps it. |
From Instance 22
Subclasses
