CinematicTextState

interface CinematicTextState

One line of text this frame. Position is normalized, origin top-left, and every field is live: the reference's main logotype flies in from off-frame and shrinks onto its mark, so x, y and scale are animated channels rather than mount-time layout.

cinematic.ts:52

Members

idreadonly

id: string

labelreadonly

label?: string

The small line above the name — 'Starring', 'Executive Producer'. It rides the same element rather than being its own text because the reference left-aligns it to the name's left edge, and the name's width is a property of the typeface the host chose, not a number a script can know. One block, centered, with the label flush left inside it, is the only arrangement that survives a font change.

opacityreadonly

opacity: number

0..1; the full list is emitted every frame so the host can keep stable DOM.

scalereadonly

scale: number

Uniform scale about the line's center; 1 once a title has settled.

stylereadonly

textreadonly

text: string

xreadonly

x: number

Center of the name line, 0..1 across the frame.

yreadonly

y: number