Constructors
Methods
destroy
- destroy(): void
Returns void
getDeviceType
- getDeviceType(userId, handedness): undefined | "unknown" | XRControllerType
Parameters
- userId: string
- handedness: XRHandedness
Returns undefined | "unknown" | XRControllerType
hasState
- hasState(userId): boolean
Parameters
- userId: undefined | null | string
Returns boolean
isTracking
- isTracking(userId, handedness): undefined | boolean
Parameters
- userId: undefined | null | string
- handedness: XRHandedness
Returns undefined | boolean
onExitXR
- onExitXR(session): void
Returns void
onUpdate
- onUpdate(session): void
Returns void
Is it hand tracking or a controller