Documentation
    Preparing search index...

    Interface TimeStateOptions

    Options for createTimeState.

    interface TimeStateOptions {
        fixedDeltaTime?: number;
        paused?: boolean;
        timeScale?: number;
    }
    Index
    fixedDeltaTime?: number

    Fixed simulation step in seconds. Default DEFAULT_FIXED_DELTA_TIME.

    paused?: boolean

    Initial pause flag. Default false.

    timeScale?: number

    Initial simulation time scale. Default 1.