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