Class FrameTickProvider

Uses the enter frame event to provide a frame tick where the frame duration is the time since the previous frame. There is a maximum frame time parameter in the constructor that can be used to limit the longest period a frame can be.

Hierarchy

  • Signal<[number]>
    • FrameTickProvider

Implements

Constructors

Properties

timeAdjustment: number = 1

Applies a time adjustement factor to the tick, so you can slow down or speed up the entire engine. The update tick time is multiplied by this value, so a value of 1 will run the engine at the normal rate.

Accessors

Methods

Generated using TypeDoc