Skip to main content

PreFrameEvent

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

Hierarchy

Index

Constructors

constructor

Properties

publicengine

engine: Engine

publicinheritedother

other: Engine<any> | null = null

Other target object for this event

publicprevStats

prevStats: FrameStats

publicinheritedtarget

target: Engine

Target object for this event.

Accessors

publicinheritedbubbles

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


    Returns boolean

  • Parameters

    • value: boolean

    Returns void

Methods

publicinheritedstopPropagation

  • stopPropagation(): void
  • Prevents event from bubbling


    Returns void