lovr.headset.isTracked
EditReturns whether any active headset driver is currently returning pose information for a device.
tracked = lovr.headset.isTracked(device)
Arguments
Name | Type | Default | Description |
device | Device | 'head' | The device to get the pose of. |
Returns
Name | Type | Description |
tracked | boolean | Whether the device is currently tracked. |
Notes
If a device is tracked, it is guaranteed to return a valid pose until the next call to lovr.headset.update
.