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. XrInteractionProfileDpadBindingEXT
Inherited Members
Namespace: UnityEngine .XR.OpenXR .Features.Interactions
Assembly: Unity.XR.OpenXR.dll
Syntax
[Preserve]
[InputControlLayout(displayName = "D-Pad Binding (OpenXR)", commonUsages = new string[] { "LeftHand", "RightHand" })]
public class DPadInteraction.DPad : XRController
Properties
thumbstickDpadDown
A Button
Declaration
[Preserve]
[InputControl]
public ButtonControl thumbstickDpadDown { get; }
Property Value
Type | Description |
---|---|
Button |
thumbstickDpadLeft
A Button
Declaration
[Preserve]
[InputControl]
public ButtonControl thumbstickDpadLeft { get; }
Property Value
Type | Description |
---|---|
Button |
thumbstickDpadRight
A Button
Declaration
[Preserve]
[InputControl]
public ButtonControl thumbstickDpadRight { get; }
Property Value
Type | Description |
---|---|
Button |
thumbstickDpadUp
A Button
Declaration
[Preserve]
[InputControl]
public ButtonControl thumbstickDpadUp { get; }
Property Value
Type | Description |
---|---|
Button |
trackpadDpadCenter
A Button
Declaration
[Preserve]
[InputControl]
public ButtonControl trackpadDpadCenter { get; }
Property Value
Type | Description |
---|---|
Button |
trackpadDpadDown
A Button
Declaration
[Preserve]
[InputControl]
public ButtonControl trackpadDpadDown { get; }
Property Value
Type | Description |
---|---|
Button |
trackpadDpadLeft
A Button
Declaration
[Preserve]
[InputControl]
public ButtonControl trackpadDpadLeft { get; }
Property Value
Type | Description |
---|---|
Button |
trackpadDpadRight
A Button
Declaration
[Preserve]
[InputControl]
public ButtonControl trackpadDpadRight { get; }
Property Value
Type | Description |
---|---|
Button |
trackpadDpadUp
A Button
Declaration
[Preserve]
[InputControl]
public ButtonControl trackpadDpadUp { get; }
Property Value
Type | Description |
---|---|
Button |
Methods
FinishSetup()
Internal call used to assign controls to the the correct element.
Declaration
protected override void FinishSetup()