@tsdotnet/tween-factory - v3.0.13
    Preparing search index...

    Interface ActiveTween

    A tween that has been activated.

    interface ActiveTween {
        events: Events;
        lastUpdate: number;
        timeFrame: default;
        complete(): void;
        update(): number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    events: Events

    For listening to life-cycle events.

    lastUpdate: number

    The last time an update() was called (triggered). NaN if never called.

    timeFrame: default

    The time frame of the active tween.

    Methods

    • Forces completion and calls dispose(true).

      Returns void

    • Updates the state and triggers events accordingly.

      Returns number