Repository navigation
API Interface Tween
Defined in: src/plugins/animation/runtime/types.ts:280
A running tween, sequence or parallel group (ADR 0371, 0372). Awaitable: it resolves with a reason when it ends. A
tween starts at the next animation update after tween() returns; until then, passing it to sequence() or
parallel() hands its timing to the group. A tween that has started can't join a group.
-
PromiseLike<TweenResult>
readonly isPlaying: boolean;Defined in: src/plugins/animation/runtime/types.ts:282
True until it ends.
pause(): void;Defined in: src/plugins/animation/runtime/types.ts:284
Hold it where it is.
void
resume(): void;Defined in: src/plugins/animation/runtime/types.ts:286
Continue after pause().
void
stop(): void;Defined in: src/plugins/animation/runtime/types.ts:288
End it now, leaving the field where it is; resolves with stopped.
void
then<TResult1, TResult2>(onfulfilled?, onrejected?): PromiseLike<TResult1 | TResult2>;Defined in: node_modules/typescript/lib/lib.es5.d.ts:1544
Attaches callbacks for the resolution and/or rejection of the Promise.
TResult1 = TweenResult
TResult2 = never
((value) => TResult1 | PromiseLike<TResult1>) | null
The callback to execute when the Promise is resolved.
((reason) => TResult2 | PromiseLike<TResult2>) | null
The callback to execute when the Promise is rejected.
PromiseLike<TResult1 | TResult2>
A Promise for the completion of which ever callback is executed.
PromiseLike.then
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