Class MicrosoftMotionControllerProfile.WMRSpatialController
An Input System device based off the Microsoft Mixed Reality Motion Controller.
Inheritance
Inherited Members
Namespace: UnityEngine .XR.OpenXR .Features.Interactions
Assembly: solution.dll
Syntax
[Preserve]
[InputControlLayout(displayName = "Windows MR Controller (OpenXR)", commonUsages = new string[] { "LeftHand", "RightHand" })]
public class MicrosoftMotionControllerProfile.WMRSpatialController : XRControllerWithRumble
Properties
Name | Description |
---|---|
device |
A Pose |
device |
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. |
device |
A Quaternion |
grip | A Axis |
grip |
A Button |
haptic | A Haptic |
is |
A Button |
joystick | A Vector2Control that represents the thumbstick OpenXR binding. |
joystick |
A Button |
menu | A Button |
pointer | A Pose |
pointer |
A Vector3Control required for back compatibility with the XRSDK layouts. This is the pointer position. This value is equivalent to mapping pointerPose/position. |
pointer |
A Quaternion |
touchpad | A Vector2Control that represents the trackpad OpenXR binding. |
touchpad |
A Button |
touchpad |
A Button |
tracking |
A Integer |
trigger | A Axis |
trigger |
A Button |
Methods
Name | Description |
---|---|
Finish |
Internal call used to assign controls to the the correct element. |