Skip to content

API Interface AnimationEvent

github-actions[bot] edited this page Nov 24, 2026 · 1 revision

Interface: AnimationEvent

Defined in: src/plugins/animation/runtime/buffers.ts:18

One notify (an event track key or notify state, ADR 0371, 0372). The behaviours of the Animator's node that define method get method(e); systems read the same records from AnimationEvents.

Properties

animator

readonly animator: Animator;

Defined in: src/plugins/animation/runtime/buffers.ts:21


args

readonly args: readonly (string | number | boolean | null)[];

Defined in: src/plugins/animation/runtime/buffers.ts:26

The key's arguments, as written in the clip.


clip

readonly clip: string;

Defined in: src/plugins/animation/runtime/buffers.ts:28

The clip the key belongs to (its asset reference).


method

readonly method: string;

Defined in: src/plugins/animation/runtime/buffers.ts:23

The method the track names.


node

readonly node: GameObject;

Defined in: src/plugins/animation/runtime/buffers.ts:20

The Animator's node (whose behaviours got the call).


phase

readonly phase: AnimationEventPhase;

Defined in: src/plugins/animation/runtime/buffers.ts:24


time

readonly time: number;

Defined in: src/plugins/animation/runtime/buffers.ts:30

The key's time in the clip, in seconds.

Clone this wiki locally