Documentation
    Preparing search index...

    Interface Advanceable

    What AnimationSystem can advance: a Tween, a Timeline, or an AnimationMixer.

    Structural rather than a union of the three classes, for the same reason TimelineChild is: the system states its actual requirements — something that moves by a delta in seconds and can say whether it is done — so a future player satisfies it without this file importing it, and a test can drive it with a three-line stub.

    interface Advanceable {
        finished: boolean;
        state: AnimationPlaybackState;
        advance(deltaSeconds: number): unknown;
    }

    Implemented by

    Index
    finished: boolean

    Whether playback has reached its end.

    Playback state; see AnimationSystem.fixedUpdate on auto-untracking.

    • Advances local time by deltaSeconds, writing the resulting values.

      Parameters

      • deltaSeconds: number

      Returns unknown