Interface IUpdatable

Supports onUpdate, fired on each animation frame.

elapsed time delta

total time, useful for TWEEN.update and other libs depending on total time

interface IUpdatable {
    onUpdate(dt: number, timestamp: number): void;
}

Implemented by

Methods

Methods

  • Parameters

    • dt: number
    • timestamp: number

    Returns void