Constructors
constructor
- new WebXRController(): WebXRController
Methods
connect
- connect(inputSource): this
Parameters
- inputSource: XRInputSource
Returns this
disconnect
- disconnect(inputSource): this
Parameters
- inputSource: XRInputSource
Returns this
dispatchEvent
- dispatchEvent(event): this
Returns this
getGripSpace
- getGripSpace(): XRGripSpace
getHandSpace
- getHandSpace(): XRHandSpace
getTargetRaySpace
- getTargetRaySpace(): XRTargetRaySpace
update
- update(inputSource, frame, referenceSpace): this
Parameters
- inputSource: XRInputSource
- frame: XRFrame
- referenceSpace: XRReferenceSpace
Returns this