Skip to content

API Interface AnimatorCrossfadeOptions

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

Interface: AnimatorCrossfadeOptions

Defined in: src/plugins/animation/runtime/types.ts:104

Options of Animator.crossfade (ADR 0372; musical timing as play's, T72).

Extends

Properties

align?

readonly align?: "start" | "hit";

Defined in: src/plugins/animation/runtime/types.ts:75

What lands on the boundary: the clip's start (default) or its hit marker, as audio stingers do.

Inherited from

AnimatorMusicTiming.align


at?

readonly at?: "exit" | "beat" | "bar";

Defined in: src/plugins/animation/runtime/types.ts:71

The music boundary to wait for.

Inherited from

AnimatorMusicTiming.at


layer?

readonly layer?: AnimatorLayer;

Defined in: src/plugins/animation/runtime/types.ts:106

The layer of the implicit graph (default 0).


loop?

readonly loop?: boolean;

Defined in: src/plugins/animation/runtime/types.ts:112

Loop the clip (default: the clip's own setting).


mask?

readonly mask?: string;

Defined in: src/plugins/animation/runtime/types.ts:108

An avatar mask asset (*.mask.json) restricting the clip to some bones.


music?

readonly music?: AudioPlaylistHandle;

Defined in: src/plugins/animation/runtime/types.ts:73

The music the boundary belongs to (required with at).

Inherited from

AnimatorMusicTiming.music


speed?

readonly speed?: number;

Defined in: src/plugins/animation/runtime/types.ts:110

Playback speed (default 1).

Clone this wiki locally