CookProject
A timeline of curves. Key a few points, shape the motion between them, and read the value at any moment from a script or wire it into a property.
A CookProject holds CookTracks with their keyframes, and Time, its playhead. Open it in the Cook window to key and play it, and in the Graph Editor to shape its curves. project:ValueAtTime("Track8", time) reads a track by its name wherever it sits in the folders, so moving tracks between folders never breaks a script. With Debug on, a track's ValueAtTime follows the playhead. Every CookVideo is also a CookProject. See Animation and Cook.
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| Debug | boolean | false | When on, the tracks' ValueAtTime uses the project's Time instead of the time asked for. |
| Time | number | 0 Properties window only; 0 to 1e+06 | The project's playhead; undo never moves it. |
Methods
| Name | Arguments | Returns | Description |
|---|---|---|---|
| ValueAtTime | (trackName: string, time: number) | number | Reads the track with that name at the given time, wherever it sits in the project's folders. |
From Instance 22
Subclasses
