ImageTrack
Film any camera without a line of code. Point a picture layer at a camera, a scene or an image, and cut between shots with the razor.
An ImageTrack is a picture layer of a CookVideo. Its Source picks what it shows: a Camera (a camera shot), a scene through its CurrentCamera, or an image, drawn while the playhead is inside the clip. Render picks As camera, Solid or Rendered for this clip alone, with its own Samples. With no Source it is an image the video's Init Script draws into; track:IsActive(time) and track:LocalTime(time) help with that. Offset places what is inside it in time.
Properties
Scripts
| Name | Type | Default | Description |
|---|---|---|---|
| DrawnFrom | Camera | scripts only | Records the camera that drew this picture, so a viewport showing it looks through that camera. |
| Path | string | scripts only |
Track
| Offset | number | 0 | Places what is inside the clip in time. |
Shot
| Source | Instance | Picks what the layer shows with no script: a Camera, a scene through its CurrentCamera, or an image. |
Render
| Render | choice | "As camera" Properties window only; As camera, Solid, Rendered | The clip's render quality: As camera follows its camera, or pick Solid or Rendered for this clip. |
| Samples | number | 64 Properties window only; 1 to 65536 | The clip's own render samples; Properties shows the samples that apply. |
Layout
| Scale | Vector2 | 1, 1 | |
| Rotation | number | 0 | Rotates the layer around its AnchorPoint, in degrees. |
Layer
| BlendMode | choice | "Normal" Normal, Dissolve, Darken, Multiply, ColorBurn, ClassicColorBurn, LinearBurn, DarkerColor, Lighten, Screen, ColorDodge, ClassicColorDodge, Add, LighterColor, Overlay, SoftLight, HardLight, VividLight, LinearLight, PinLight, HardMix, Difference, Exclusion, Subtract, Divide, Hue, Saturation, Color, Luminosity, StencilAlpha, StencilLuma, SilhouetteAlpha, SilhouetteLuma, AlphaAdd, LuminescentPremul | Blends the layer with any of the Photoshop and After Effects blend modes. |
| Matte | source | Any image used as this layer's matte: another track, an AOV or an image. | |
| MatteMode | choice | "None" None, Alpha, AlphaInverted, Luma, LumaInverted |
Appearance
| Color | Color3 | 1, 1, 1 | Tints the layer in the composite. |
| Transparency | number | 0 0 to 1 | Fades the layer. |
| Visible | boolean | true | Off hides the layer in the composite. |
Animation
| InAnimation | choice | "None" None, Fade, Slide, Pop, Typewriter, Wipe | How the layer animates in at its clip's In point; applied when drawn, so keys and scripts are untouched. |
| InDuration | number | 0.5 0 to 1e+06 | How long the In animation lasts; in Cook, drag the inner edge of its ramp to change it. |
| OutAnimation | choice | "None" None, Fade, Slide, Pop, Typewriter, Wipe | How the layer animates out at its clip's Out point; applied when drawn, so keys and scripts are untouched. |
| OutDuration | number | 0.5 0 to 1e+06 | How long the Out animation lasts; in Cook, drag the inner edge of its ramp to change it. |
| SlideDirection | choice | "Left" Left, Right, Up, Down | |
| AnimationEasing | choice | "Smooth" Smooth, Linear, Back | |
| AnimationStart | number | 0 | |
| AnimationEnd | number | -1 |
Layer Style
| FillOpacity | number | 1 0 to 1 | Like Photoshop's Fill: fades the layer's own pixels but not its layer styles. |
