Skip to main content
Version: 21 Aug 2024

MagicLeapController

An Input System device based off the Magic Leap Controller interaction profile . This device contains one haptic output motor.

Inherits from:
XRControllerWithRumble

Public Fields

devicePose

A PoseControl that represents information from the MagicLeapControllerProfile.gripOpenXR binding.


public PoseControl devicePose { get; set; }


devicePosition

A Vector3Control required for backwards compatibility with the XRSDK layouts. This is the device position, or grip position. This value is equivalent to mapping devicePose/position.


public new Vector3Control devicePosition { get; set; }


deviceRotation

A QuaternionControl required for backwards compatibility with the XRSDK layouts. This is the device orientation, or grip orientation. This value is equivalent to mapping devicePose/rotation.


public new QuaternionControl deviceRotation { get; set; }


gripPressed

A ButtonControl that represents information from the HTCViveControllerProfile.squeeze OpenXR binding.


public ButtonControl gripPressed { get; set; }


haptic

A HapticControl that represents the MagicLeapControllerProfile.haptic binding.


public HapticControl haptic { get; set; }


isTracked

A ButtonControl required for backwards compatibility with the XRSDK layouts. This represents the overall tracking state of the device. This value is equivalent to mapping devicePose/isTracked.


public new ButtonControl isTracked { get; set; }


menu

A ButtonControl that represents the MagicLeapControllerProfile.menuOpenXR binding.


public ButtonControl menu { get; set; }


pointer

A PoseControl that represents information from the MagicLeapControllerProfile.aimOpenXR binding.


public PoseControl pointer { get; set; }


pointerPosition

A Vector3Control required for backwards compatibility with the XRSDK layouts. This is the pointer position. This value is equivalent to mapping pointerPose/position.


public Vector3Control pointerPosition { get; set; }


pointerRotation

A QuaternionControl required for backwards compatibility with the XRSDK layouts. This is the pointer rotation. This value is equivalent to mapping pointerPose/rotation.


public QuaternionControl pointerRotation { get; set; }


trackingState

A IntegerControl required for backwards compatibility with the XRSDK layouts. This represents the bit flag set indicating what data is valid. This value is equivalent to mapping devicePose/trackingState.


public new IntegerControl trackingState { get; set; }


trackpad

A Vector2Control that represents information from the HTCViveControllerProfile.trackpad OpenXR binding.


public Vector2Control trackpad { get; set; }


trackpadClicked

A ButtonControl that represents information from the HTCViveControllerProfile.trackpadClick OpenXR binding.


public ButtonControl trackpadClicked { get; set; }


trackpadForce

A AxisControl that represents the ValveIndexControllerProfile.trackpadForce OpenXR binding.


public AxisControl trackpadForce { get; set; }


trackpadTouched

A ButtonControl that represents information from the HTCViveControllerProfile.trackpadTouch OpenXR binding.


public ButtonControl trackpadTouched { get; set; }


trigger

A AxisControl that represents information from the MagicLeapControllerProfile.triggerOpenXR binding.


public AxisControl trigger { get; set; }


triggerPressed

A ButtonControl that represents information from the MagicLeapControllerProfile.triggerClickOpenXR binding.


public ButtonControl triggerPressed { get; set; }


Protected Methods

FinishSetup

protected override void FinishSetup()