![]() |
FirstModulAR 0.1.0
|
Core device manager which manages all headsets, trackers, and controllers from all XR Providers. More...
Public Member Functions | |
| void | SetHeadset (Headset headset) |
| Sets the headset and triggers the onHeadsetSet event. | |
| void | AddCommonHand (CommonHand commonHand) |
| Adds a common hand to the device manager and creates a corresponding controller. | |
| void | AddNonHandController (Controller controller) |
| Adds a non-hand controller to the device manager. | |
| void | RemoveNonHandController (Controller controller) |
| Removes a non-hand controller from the device manager. | |
Static Public Attributes | |
| static Action< Headset > | onHeadsetSet |
| static Action< CommonHand > | onCommonHandAdded |
Properties | |
| static FmarDeviceManager | Instance [get] |
| Headset | Headset [get] |
| bool | HasLeftController [get] |
| Controller | LeftController [get] |
| bool | HasRightController [get] |
| Controller | RightController [get] |
| static Material | LineRendMaterial [get] |
Core device manager which manages all headsets, trackers, and controllers from all XR Providers.
|
inline |
Adds a common hand to the device manager and creates a corresponding controller.
| commonHand | The common hand to add. |
|
inline |
Adds a non-hand controller to the device manager.
| controller | The controller to add. |
|
inline |
Removes a non-hand controller from the device manager.
| controller | The controller to remove. |
|
inline |
Sets the headset and triggers the onHeadsetSet event.
| headset | The headset to set. |
|
static |
|
static |
|
get |
|
get |
|
get |
|
staticget |
|
get |
|
staticget |
|
get |