Skip to main content

PreTransformDrawEvent

The 'pretransformdraw' event is emitted on actors/entities before any graphics transforms have taken place. Useful if you need to completely customize the draw or modify the transform before drawing in the draw step (for example needing latest camera positions)

Hierarchy

Index

Constructors

constructor

Properties

publicctx

publicelapsed

elapsed: number

publicinheritedother

other: Entity<any> | null = null

Other target object for this event

publicself

self: Entity

publicinheritedtarget

target: Entity

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