docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class HandInteractionProfileMicrogestures.HandInteractionMicrogestures

    An Input System device that exposes the microgesture controls for one hand.

    Inheritance
    object
    InputControl
    InputDevice
    OpenXRDevice
    HandInteractionProfileMicrogestures.HandInteractionMicrogestures
    Inherited Members
    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.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.XR.OpenXR.Features.Interactions
    Assembly: Unity.XR.OpenXR.dll
    Syntax
    [Preserve]
    [InputControlLayout(displayName = "Hand Interaction Microgestures (OpenXR)", commonUsages = new string[] { "LeftHand", "RightHand" })]
    public class HandInteractionProfileMicrogestures.HandInteractionMicrogestures : OpenXRDevice
    Remarks

    Unity creates one device for each hand and assigns it the LeftHand or RightHand usage. To bind a control for one hand, use a path such as <HandInteractionMicrogestures>/tapThumb.

    Properties

    swipeBackward

    A ButtonControl that represents the swipeBackward OpenXR binding.

    Declaration
    [Preserve]
    [InputControl]
    public ButtonControl swipeBackward { get; }
    Property Value
    Type Description
    ButtonControl
    Remarks

    The OpenXR input is true when the runtime recognizes a swipe backward microgesture.

    swipeForward

    A ButtonControl that represents the swipeForward OpenXR binding.

    Declaration
    [Preserve]
    [InputControl]
    public ButtonControl swipeForward { get; }
    Property Value
    Type Description
    ButtonControl
    Remarks

    The OpenXR input is true when the runtime recognizes a swipe forward microgesture.

    swipeLeft

    A ButtonControl that represents the swipeLeft OpenXR binding.

    Declaration
    [Preserve]
    [InputControl]
    public ButtonControl swipeLeft { get; }
    Property Value
    Type Description
    ButtonControl
    Remarks

    The OpenXR input is true when the runtime recognizes a swipe left microgesture.

    swipeRight

    A ButtonControl that represents the swipeRight OpenXR binding.

    Declaration
    [Preserve]
    [InputControl]
    public ButtonControl swipeRight { get; }
    Property Value
    Type Description
    ButtonControl
    Remarks

    The OpenXR input is true when the runtime recognizes a swipe right microgesture.

    tapThumb

    A ButtonControl that represents the tapThumb OpenXR binding.

    Declaration
    [Preserve]
    [InputControl]
    public ButtonControl tapThumb { get; }
    Property Value
    Type Description
    ButtonControl
    Remarks

    The OpenXR input is true when the runtime recognizes a thumb tap microgesture.

    Methods

    FinishSetup()

    Assigns each microgesture control property after the Input System creates the device.

    Declaration
    protected override void FinishSetup()
    Overrides
    OpenXRDevice.FinishSetup()
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)