TextTrack
Put words on screen in any installed font, with an outline, a plate behind them, and a fade or typewriter to bring them in.
A TextTrack is a text layer of a CookVideo, see-through everywhere but the words. Text, FontFamily and FontWeight (or a Font file), TextSize, TextColor3, the alignments, TextWrapped and LineHeight set the words; StrokeColor and StrokeThickness outline them. BackgroundColor3, BackgroundTransparency, CornerRadius and Padding make a plate, and AutomaticSize keeps the box fitted to the text. Insert, Title makes one with a plate, ready to go. It keys, trims, masks and blends like any layer.
Properties
Layout
| Name | Type | Default | Description |
|---|---|---|---|
| AbsoluteSize | Vector2 | The size the layer is drawn at, after AutomaticSize grows the box; read-only. | |
| AutomaticSize | string | "XY" None, X, Y, XY | Grows the box to fit the text around the AnchorPoint, with Size as the least size, so text never clips. |
| Scale | Vector2 | 1, 1 | Scales the layer; it is drawn at Size times Scale, so scaled text stays sharp. |
| Rotation | number | 0 | Rotates the layer around its AnchorPoint, in degrees. |
Background
| BackgroundColor3 | Color3 | 0.07, 0.08, 0.1 | The colour of the plate behind the words, which fills the layer's box. |
| BackgroundTransparency | number | 1 0 to 1 | How see-through the plate behind the words is; at 1 there is no plate. |
| CornerRadius | number | 0 0 to 10000 | Rounds the corners of the plate behind the words. |
| Padding | Vector2 | 0, 0 | Insets the text inside the plate and grows the AutomaticSize box, in pixels. |
Text
| Font | FontContent? | A font file that wins over FontFamily when set; the FontFamily row then locks. | |
| FontFamily | string | "Segoe UI" | Any font family installed on this computer, drawn at FontWeight. |
| FontWeight | string | "Bold" Thin, ExtraLight, Light, Regular, Medium, SemiBold, Bold, ExtraBold, Heavy | The weight the font family is drawn at, by Roblox's names from Thin (100) to Heavy (900). |
| LineHeight | number | 1 0.1 to 10 | |
| Text | string | "Text" | The words the layer draws; line breaks in it start new lines. |
| TextColor3 | Color3 | 1, 1, 1 | |
| TextSize | number | 64 1 to 1000 | |
| TextTransparency | number | 0 0 to 1 | |
| TextWrapped | boolean | false | Wraps the words to fit the box. |
| TextXAlignment | string | "Center" Left, Center, Right | |
| TextYAlignment | string | "Center" Top, Center, Bottom |
Stroke
| StrokeColor | Color3 | 0, 0, 0 | The outline's colour; the outline sits inside the box, so nothing is clipped at the layer edge. |
| StrokeThickness | number | 0 0 to 1000 | How thick the outline is; it sits inside the box, so nothing is clipped at the layer edge. |
| StrokeTransparency | number | 0 0 to 1 | How see-through the outline is; it sits inside the box, so nothing is clipped at the layer edge. |
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. |
