XR · function
readController
Explained in XR.
function readController(source: XrInputSource, frame: XrFrame, referenceSpace: unknown): ControllerStateimport { readController } from '@driftengine/xr';Parameters
| Parameter | Type | Description |
|---|---|---|
source | XrInputSource | |
frame | XrFrame | |
referenceSpace | unknown |