For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-editor/interfaces/ITimelinePlayerOptions.md.

Interface: ITimelinePlayerOptions experimental

player

Beta

Optional properties for a Timeline Player pane

Extends

Properties

duration?

optional duration?: number

Beta

Remarks

Total duration in seconds.


enable?

optional enable?: boolean

Beta

Remarks

Initial enabled state of property item. If undefined, it will default to true.

Inherited from

IPropertyItemOptionsBase.enable


groups?

optional groups?: ITimelinePlayerGroup[]

Beta

Remarks

Group entries for the dropdown.


onDurationChanged?

optional onDurationChanged?: (duration) => void

Beta

Parameters

duration

number

Returns

void

Remarks

Callback triggered when the total duration changes (e.g. via the timeline drag handle).


onGroupChanged?

optional onGroupChanged?: (groupId) => void

Beta

Parameters

groupId

string

Returns

void

Remarks

Callback triggered when the group selection changes.


onPlayStopToggled?

optional onPlayStopToggled?: () => void

Beta

Returns

void

Remarks

Callback triggered when the play/stop toggle is clicked.


onRedistributeClicked?

optional onRedistributeClicked?: () => void

Beta

Returns

void

Remarks

Callback triggered when the redistribute button is clicked.


onTimeChanged?

optional onTimeChanged?: (current, prev) => void

Beta

Parameters

current

number

prev

number

Returns

void

Remarks

Callback triggered when the playhead time changes.


playbackState?

optional playbackState?: TimelinePlayerPlaybackState

Beta

Remarks

Initial playback state.


precision?

optional precision?: number

Beta

Remarks

Decimal precision for keyframe time values.


selectedGroupId?

optional selectedGroupId?: string

Beta

Remarks

Initially selected group identifier.


style?

optional style?: PaneItemStyle

Beta

Remarks

Optional styling overrides for the item.

Inherited from

IPropertyItemOptionsBase.style


visible?

optional visible?: boolean

Beta

Remarks

Initial visibility state of property item. If undefined, it will default to true.

Inherited from

IPropertyItemOptionsBase.visible

同领域相关