Repository navigation
API Interface AnimatorPlayOptions
Defined in: src/plugins/animation/runtime/types.ts:79
Options of Animator.play (ADR 0372).
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.
readonly at?: "exit" | "beat" | "bar";Defined in: src/plugins/animation/runtime/types.ts:71
The music boundary to wait for.
readonly fade?: number;Defined in: src/plugins/animation/runtime/types.ts:89
Seconds to fade in over what is playing (default 0: a cut, inertialized).
readonly layer?: AnimatorLayer;Defined in: src/plugins/animation/runtime/types.ts:87
The layer of the implicit graph (default 0). Ignored with slot.
readonly loop?: boolean;Defined in: src/plugins/animation/runtime/types.ts:98
Loop the clip (default: the clip's own setting). A looping play's promise resolves only when stopped or interrupted.
readonly music?: AudioPlaylistHandle;Defined in: src/plugins/animation/runtime/types.ts:73
The music the boundary belongs to (required with at).
readonly normalizedTime?: number;Defined in: src/plugins/animation/runtime/types.ts:100
Where to start, in normalised time (0–1, default 0).
readonly section?:
| string
| {
end?: number;
start: number;
};Defined in: src/plugins/animation/runtime/types.ts:94
With slot: the part of the clip to play. A name is a section of the clip (its cue marker of that name, up to the
next cue or the clip's end); { start, end } are clip seconds (end left out: the clip's end).
readonly slot?: string;Defined in: src/plugins/animation/runtime/types.ts:85
A slot of the graph to play the clip in, as a one-shot over the graph (Unreal's slots and montages). Without it the
clip plays on layer of the implicit graph (an Animator without a graph asset), or is refused with a warning when
the Animator has a graph.
readonly speed?: number;Defined in: src/plugins/animation/runtime/types.ts:96
Playback speed (default 1; negative plays backward).
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference