API

Interface AnimationManagerOptions

interface AnimationManagerOptions {
    engine?: EngineContext;
    fixedDeltaMs?: number;
    onUpdate?: (deltaMs: number) => void;
}
Index
engine?: EngineContext
fixedDeltaMs?: number
onUpdate?: (deltaMs: number) => void

Called after each autonomous tick with the step (in ms) that was applied.