A device in the Unity XR provider. Can represent a headset, controller, hand, or some other device.
More...
A device in the Unity XR provider. Can represent a headset, controller, hand, or some other device.
◆ Device()
| FMAR.XRProviders.UnityXR.UnityXrDeviceManager.Device.Device |
( |
UnityXrDeviceManager | parent, |
|
|
InputDevice | inputDevice ) |
|
inline |
Creates a new device with the given input device.
- Parameters
-
| parent | The parent device manager. |
| inputDevice | The input device to create the device from. |
◆ LateUpdate()
| void FMAR.XRProviders.UnityXR.UnityXrDeviceManager.Device.LateUpdate |
( |
| ) |
|
|
inline |
Runs every frame after all other updates have been called, and handles.
◆ Update()
| void FMAR.XRProviders.UnityXR.UnityXrDeviceManager.Device.Update |
( |
| ) |
|
|
inline |
Updates the device's tracking state.
◆ controller
| Controller FMAR.XRProviders.UnityXR.UnityXrDeviceManager.Device.controller |
◆ inputDevice
| InputDevice FMAR.XRProviders.UnityXR.UnityXrDeviceManager.Device.inputDevice |
◆ name
| string FMAR.XRProviders.UnityXR.UnityXrDeviceManager.Device.name |
The documentation for this class was generated from the following file: