API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

E

enumPointerState

@codexo/exojs / input / stable

High-level lifecycle state of a Pointer. Distinct from PointerStateFlag, which is a bitfield of the per-frame events a pointer saw. This is the single state the pointer is *in*, and it is only ever compared by identity - hence string values, which read as themselves in a debugger.

0
props
0
methods
0
events
Import
import { PointerState } from '@codexo/exojs'

High-level lifecycle state of a Pointer.

Distinct from PointerStateFlag, which is a bitfield of the per-frame events a pointer saw. This is the single state the pointer is *in*, and it is only ever compared by identity - hence string values, which read as themselves in a debugger.

Members7
Cancelled
InsideCanvas
Moving
OutsideCanvas
Pressed
Released
Unknown
Source