MagicLeapController
Convenient utility for accessing InputActions bound to the ML2 controller's OpenXR action paths
Declaration
public class MagicLeapControllerProperties
| Name | Type | Summary |
|---|---|---|
| readonly AngularVelocity | Vector3 | - |
| readonly BumperIsPressed | bool | - |
| static readonly Instance | MagicLeapController | - |
| readonly IsTracked | bool | - |
| readonly MenuIsPressed | bool | - |
| readonly PointerPosition | Vector3 | - |
| readonly PointerRotation | Quaternion | - |
| readonly Position | Vector3 | - |
| readonly Rotation | Quaternion | - |
| readonly TouchPosition | Vector2 | - |
| readonly TouchPressure | float | - |
| readonly TrackingState | InputTrackingState | - |
| readonly TriggerIsPressed | bool | - |
| readonly TriggerValue | float | - |
| readonly Velocity | Vector3 | - |
Events
| Name | Type | Summary |
|---|---|---|
| BumperPressed | Action<CallbackContext> | - |
| MenuPressed | Action<CallbackContext> | - |
| TrackpadClicked | Action<CallbackContext> | - |
| TriggerPressed | Action<CallbackContext> | - |