docs.unity3d.com
Search Results for

    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*, int)
    InputDevice.ReadValueFromStateAsObject(void*)
    InputDevice.ReadValueFromStateIntoBuffer(void*, void*, int)
    InputDevice.CompareValue(void*, void*)
    InputDevice.MakeCurrent()
    InputDevice.OnAdded()
    InputDevice.OnRemoved()
    InputDevice.OnConfigurationChanged()
    InputDevice.ExecuteCommand<TCommand>(ref 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
    InputDevice.all
    InputControl.m_StateBlock
    InputControl.ToString()
    InputControl.EvaluateMagnitude()
    InputControl.EvaluateMagnitude(void*)
    InputControl.WriteValueFromBufferIntoState(void*, int, void*)
    InputControl.WriteValueFromObjectIntoState(object, void*)
    InputControl.TryGetChildControl(string)
    InputControl.TryGetChildControl<TControl>(string)
    InputControl.GetChildControl(string)
    InputControl.GetChildControl<TControl>(string)
    InputControl.RefreshConfigurationIfNeeded()
    InputControl.RefreshConfiguration()
    InputControl.CalculateOptimizedControlDataType()
    InputControl.ApplyParameterChanges()
    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.this[string]
    InputControl.magnitude
    InputControl.currentStatePtr
    InputControl.previousFrameStatePtr
    InputControl.defaultStatePtr
    InputControl.noiseMaskPtr
    InputControl.stateOffsetRelativeToDeviceRoot
    InputControl.optimizedControlDataType
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, November 1, 2023