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
Syntax
[Preserve]
[InputControlLayout(displayName = "D-Pad Binding (OpenXR)", commonUsages = new string[]{"LeftHand", "RightHand"})]
public class DPad : XRControllerProperties
thumbstickDpadDown
A ButtonControl that represents the thumbstickDpadDown OpenXR binding.
Declaration
[Preserve]
public ButtonControl thumbstickDpadDown { get; }Property Value
| Type | Description | 
|---|---|
| ButtonControl | 
thumbstickDpadLeft
A ButtonControl that represents the thumbstickDpadLeft OpenXR binding.
Declaration
[Preserve]
public ButtonControl thumbstickDpadLeft { get; }Property Value
| Type | Description | 
|---|---|
| ButtonControl | 
thumbstickDpadRight
A ButtonControl that represents the thumbstickDpadRight OpenXR binding.
Declaration
[Preserve]
public ButtonControl thumbstickDpadRight { get; }Property Value
| Type | Description | 
|---|---|
| ButtonControl | 
thumbstickDpadUp
A ButtonControl that represents the thumbstickDpadUp OpenXR binding.
Declaration
[Preserve]
public ButtonControl thumbstickDpadUp { get; }Property Value
| Type | Description | 
|---|---|
| ButtonControl | 
trackpadDpadCenter
A ButtonControl that represents the trackpadDpadCenter OpenXR binding.
Declaration
[Preserve]
public ButtonControl trackpadDpadCenter { get; }Property Value
| Type | Description | 
|---|---|
| ButtonControl | 
trackpadDpadDown
A ButtonControl that represents the trackpadDpadDown OpenXR binding.
Declaration
[Preserve]
public ButtonControl trackpadDpadDown { get; }Property Value
| Type | Description | 
|---|---|
| ButtonControl | 
trackpadDpadLeft
A ButtonControl that represents the 
Declaration
[Preserve]
public ButtonControl trackpadDpadLeft { get; }Property Value
| Type | Description | 
|---|---|
| ButtonControl | 
trackpadDpadRight
A ButtonControl that represents the trackpadDpadRight OpenXR binding.
Declaration
[Preserve]
public ButtonControl trackpadDpadRight { get; }Property Value
| Type | Description | 
|---|---|
| ButtonControl | 
trackpadDpadUp
A ButtonControl that represents the trackpadDpadUp OpenXR binding.
Declaration
[Preserve]
public ButtonControl trackpadDpadUp { get; }Property Value
| Type | Description | 
|---|---|
| ButtonControl | 
Methods
FinishSetup()
Internal call used to assign controls to the the correct element.
Declaration
protected override void FinishSetup()