docs.unity.cn
    Show / Hide Table of Contents

    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.

    Inheritance
    Object
    InputControl
    InputDevice
    TrackedDevice
    XRController
    DPadInteraction.DPad
    Inherited Members
    XRController.leftHand
    XRController.rightHand
    TrackedDevice.trackingState
    TrackedDevice.isTracked
    TrackedDevice.devicePosition
    TrackedDevice.deviceRotation
    InputDevice.InvalidDeviceId
    InputDevice.ReadValueFromBufferAsObject(Void*, Int32)
    InputDevice.ReadValueFromStateAsObject(Void*)
    InputDevice.ReadValueFromStateIntoBuffer(Void*, Void*, Int32)
    InputDevice.CompareValue(Void*, Void*)
    InputDevice.MakeCurrent()
    InputDevice.OnAdded()
    InputDevice.OnRemoved()
    InputDevice.OnConfigurationChanged()
    InputDevice.ExecuteCommand<TCommand>(TCommand)
    InputDevice.ExecuteCommand(InputDeviceCommand*)
    InputDevice.description
    InputDevice.enabled
    InputDevice.canRunInBackground
    InputDevice.added
    InputDevice.remote
    InputDevice.native
    InputDevice.updateBeforeRender
    InputDevice.deviceId
    InputDevice.lastUpdateTime
    InputDevice.wasUpdatedThisFrame
    InputDevice.allControls
    InputDevice.valueType
    InputDevice.valueSizeInBytes
    UnityEngine.InputSystem.InputDevice.all
    InputControl.m_StateBlock
    InputControl.ToString()
    InputControl.EvaluateMagnitude()
    InputControl.EvaluateMagnitude(Void*)
    InputControl.WriteValueFromBufferIntoState(Void*, Int32, Void*)
    InputControl.WriteValueFromObjectIntoState(Object, Void*)
    InputControl.TryGetChildControl(String)
    InputControl.TryGetChildControl<TControl>(String)
    InputControl.GetChildControl(String)
    InputControl.GetChildControl<TControl>(String)
    InputControl.RefreshConfigurationIfNeeded()
    InputControl.RefreshConfiguration()
    InputControl.name
    InputControl.displayName
    InputControl.shortDisplayName
    InputControl.path
    InputControl.layout
    InputControl.variants
    InputControl.device
    InputControl.parent
    InputControl.children
    InputControl.usages
    InputControl.aliases
    InputControl.stateBlock
    InputControl.noisy
    InputControl.synthetic
    InputControl.Item[String]
    InputControl.currentStatePtr
    InputControl.previousFrameStatePtr
    InputControl.defaultStatePtr
    InputControl.noiseMaskPtr
    InputControl.stateOffsetRelativeToDeviceRoot
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.XR.OpenXR.Features.Interactions
    Syntax
    [Preserve]
    [InputControlLayout(displayName = "D-Pad Binding (OpenXR)", commonUsages = new string[]{"LeftHand", "RightHand"})]
    public class DPad : XRController

    Properties

    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 OpenXR binding.

    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()
    Overrides
    XRController.FinishSetup()
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, July 26, 2023