Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PreFrameEvent

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

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

engine

engine: Engine

other

other: T | null

Other target object for this event

prevStats

prevStats: FrameStats

target

target: Engine

Target object for this event.

Accessors

bubbles

  • 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

  • If set to false, prevents event from propagating to other actors. If true it will be propagated to all actors that apply.

    Parameters

    • value: boolean

    Returns void

Methods

stopPropagation

  • stopPropagation(): void