PointerAbstraction
Index
Constructors
constructor
Returns PointerAbstraction
Properties
publicevents
publiclastPagePos
publiclastScreenPos
The last position on the screen this pointer was at. Can be null
if pointer was never active.
publiclastWorldPos
The last position in the game world coordinates this pointer was at. Can be null
if pointer was never active.
Methods
publicemit
Type parameters
- TEventName: EventKey<PointerEvents>
Parameters
eventName: TEventName
event: PointerEvents[TEventName]
Returns void
publicoff
publicon
Type parameters
- TEventName: EventKey<PointerEvents>
Parameters
eventName: TEventName
handler: Handler<PointerEvents[TEventName]>
Returns Subscription
publiconce
Type parameters
- TEventName: EventKey<PointerEvents>
Parameters
eventName: TEventName
handler: Handler<PointerEvents[TEventName]>
Returns Subscription
The last position on the document this pointer was at. Can be
null
if pointer was never active.