Skip to content

TimelineTrack

Defined in: src/components/editor/Timeline/Timeline.types.ts:23

One animated property. Keyframes use the shared CurveKeyframe model (x = frame, y = value); graph mode assembles a CurveData per track from { keyframes, domainX: [startFrame, endFrame], domainY: valueRange }.

Properties

color?

optional color: string

Defined in: src/components/editor/Timeline/Timeline.types.ts:28

Keyframe / lane accent color (theme accent fallback).


expanded?

optional expanded: boolean

Defined in: src/components/editor/Timeline/Timeline.types.ts:40

Expand this track into a graph (curve) lane regardless of the global mode.


groupId?

optional groupId: string

Defined in: src/components/editor/Timeline/Timeline.types.ts:42

Group this track belongs to (matches a TimelineGroup.id).


height?

optional height: number

Defined in: src/components/editor/Timeline/Timeline.types.ts:44

Row-height override (CSS px).


hidden?

optional hidden: boolean

Defined in: src/components/editor/Timeline/Timeline.types.ts:38

Collapsed / not drawn.


id

id: string

Defined in: src/components/editor/Timeline/Timeline.types.ts:24


infinity?

optional infinity: TimelineInfinity

Defined in: src/components/editor/Timeline/Timeline.types.ts:34

Pre/post-infinity behaviour for graph mode.


keyframes

keyframes: CurveKeyframe[]

Defined in: src/components/editor/Timeline/Timeline.types.ts:30

Keyframes — x is a frame, y is the value at that frame.


label?

optional label: string

Defined in: src/components/editor/Timeline/Timeline.types.ts:26

Display label in the header column.


locked?

optional locked: boolean

Defined in: src/components/editor/Timeline/Timeline.types.ts:36

Visible but not editable.


valueRange?

optional valueRange: [number, number]

Defined in: src/components/editor/Timeline/Timeline.types.ts:32

Value range (graph-mode domainY). Auto-fit from keyframes when omitted.