@turbowarp/types-tw
    Preparing search index...

    Interface FrameLoop

    interface FrameLoop {
        _interpolationAnimation?: { cancel(): void };
        _noopAnimation?: { cancel(): void };
        _stepAnimation?: { cancel(): void };
        _stepInterval?: number;
        framerate: number;
        interpolation: boolean;
        running: boolean;
        runtime: Runtime;
        _restart(): void;
        interpolationCallback(): void;
        noopCallback(): void;
        setFramerate(framerate: number): void;
        setInterpolation(interpolation: boolean): void;
        start(): void;
        stepCallback(): void;
        stop(): void;
    }
    Index

    Properties

    _interpolationAnimation?: { cancel(): void }
    _noopAnimation?: { cancel(): void }
    _stepAnimation?: { cancel(): void }
    _stepInterval?: number
    framerate: number
    interpolation: boolean
    running: boolean
    runtime: Runtime

    Methods

    • Parameters

      • interpolation: boolean

      Returns void