Type alias FrameEventPayload

FrameEventPayload: {
    dt: number;
    updateLoopRestarted: boolean;
}

Frame event payload

Type declaration

  • dt: number

    Time elapsed since previous update loop, in milliseconds

  • updateLoopRestarted: boolean

    true if the update loop restarted

Generated using TypeDoc