Class DPadInteraction.DPad
A dpad-like interaction feature that allows the application to bind one or more digital actions to a trackpad or thumbstick as though it were a dpad.
Inherited Members
Namespace: UnityEngine.XR.OpenXR.Features.Interactions
Assembly: solution.dll
Syntax
[Preserve]
[InputControlLayout(displayName = "D-Pad Binding (OpenXR)", commonUsages = new string[] { "LeftHand", "RightHand" })]
public class DPadInteraction.DPad : XRController
Properties
Name | Description |
---|---|
thumbstickDpadDown | A ButtonControl that represents the thumbstickDpadDown OpenXR binding. |
thumbstickDpadLeft | A ButtonControl that represents the thumbstickDpadLeft OpenXR binding. |
thumbstickDpadRight | A ButtonControl that represents the thumbstickDpadRight OpenXR binding. |
thumbstickDpadUp | A ButtonControl that represents the thumbstickDpadUp OpenXR binding. |
trackpadDpadCenter | A ButtonControl that represents the trackpadDpadCenter OpenXR binding. |
trackpadDpadDown | A ButtonControl that represents the trackpadDpadDown OpenXR binding. |
trackpadDpadLeft | A ButtonControl that represents the DPadInteractionP.trackpadDpadLeft OpenXR binding. |
trackpadDpadRight | A ButtonControl that represents the trackpadDpadRight OpenXR binding. |
trackpadDpadUp | A ButtonControl that represents the trackpadDpadUp OpenXR binding. |
Methods
Name | Description |
---|---|
FinishSetup() | Internal call used to assign controls to the the correct element. |