The 'preframe' event is emitted on the engine, before the frame begins.

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

Properties

engine: Engine
other: Engine

Other target object for this event

prevStats: FrameStats
target: Engine

Target object for this event.

Accessors

  • get bubbles(): boolean
  • If set to false, prevents event from propagating to other actors. If true it will be propagated to all actors that apply.

    Returns boolean

  • set bubbles(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

Methods