docs.unity3d.com
    Show / Hide Table of Contents

    Class MetaHandTrackingAim.MetaAimHand

    (Deprecated) A TrackedDevice based off the data exposed in the Meta Hand Tracking Aim extension. Use MetaHandTrackingAim.MetaAimHand instead of MetaHandTrackingAim.MetaAimHand.

    Inheritance
    Object
    InputControl
    InputDevice
    TrackedDevice
    MetaHandTrackingAim.MetaAimHand
    Inherited Members
    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
    Namespace: UnityEngine.XR.Hands.OpenXR
    Syntax
    [Preserve]
    [InputControlLayout(displayName = "Meta Aim Hand (OpenXR)", commonUsages = new string[]{"LeftHand", "RightHand"})]
    [Obsolete("Use the UnityEngine.XR.Hands.MetaAimHand instead. (UnityUpgradable) -> UnityEngine.XR.Hands.MetaAimHand", true)]
    public class MetaAimHand : TrackedDevice

    Fields

    pressThreshold

    The pinch amount required to register as being pressed for the purposes of indexPressed, middlePressed, ringPressed, and littlePressed.

    Declaration
    public const float pressThreshold = 0.8F
    Field Value
    Type Description
    Single

    Properties

    aimFlags

    (Deprecated) Cast the result of reading this to MetaAimFlags to examine the value. Use MetaHandTrackingAim.MetaAimHand instead of MetaHandTrackingAim.MetaAimHand.

    Declaration
    [Preserve]
    public IntegerControl aimFlags { get; }
    Property Value
    Type Description
    IntegerControl

    indexPressed

    A ButtonControl that represents whether the pinch between the index finger and the thumb is mostly pressed (greater than a threshold of 0.8 contained in pressThreshold).

    Declaration
    [Preserve]
    public ButtonControl indexPressed { get; }
    Property Value
    Type Description
    ButtonControl

    littlePressed

    A ButtonControl that represents whether the pinch between the little finger and the thumb is mostly pressed (greater than a threshold of 0.8 contained in pressThreshold).

    Declaration
    [Preserve]
    public ButtonControl littlePressed { get; }
    Property Value
    Type Description
    ButtonControl

    middlePressed

    A ButtonControl that represents whether the pinch between the middle finger and the thumb is mostly pressed (greater than a threshold of 0.8 contained in pressThreshold).

    Declaration
    [Preserve]
    public ButtonControl middlePressed { get; }
    Property Value
    Type Description
    ButtonControl

    pinchStrengthIndex

    An AxisControl that represents the pinch strength between the index finger and the thumb.

    Declaration
    [Preserve]
    public AxisControl pinchStrengthIndex { get; }
    Property Value
    Type Description
    AxisControl
    Remarks

    A value of 0 denotes no pinch at all, while a value of 1 denotes a full pinch.

    pinchStrengthLittle

    An AxisControl that represents the pinch strength between the little finger and the thumb.

    Declaration
    [Preserve]
    public AxisControl pinchStrengthLittle { get; }
    Property Value
    Type Description
    AxisControl
    Remarks

    A value of 0 denotes no pinch at all, while a value of 1 denotes a full pinch.

    pinchStrengthMiddle

    An AxisControl that represents the pinch strength between the middle finger and the thumb.

    Declaration
    [Preserve]
    public AxisControl pinchStrengthMiddle { get; }
    Property Value
    Type Description
    AxisControl
    Remarks

    A value of 0 denotes no pinch at all, while a value of 1 denotes a full pinch.

    pinchStrengthRing

    An AxisControl that represents the pinch strength between the ring finger and the thumb.

    Declaration
    [Preserve]
    public AxisControl pinchStrengthRing { get; }
    Property Value
    Type Description
    AxisControl
    Remarks

    A value of 0 denotes no pinch at all, while a value of 1 denotes a full pinch.

    ringPressed

    A ButtonControl that represents whether the pinch between the ring finger and the thumb is mostly pressed (greater than a threshold of 0.8 contained in pressThreshold).

    Declaration
    [Preserve]
    public ButtonControl ringPressed { get; }
    Property Value
    Type Description
    ButtonControl

    Methods

    FinishSetup()

    Perform final initialization tasks after the control hierarchy has been put into place.

    Declaration
    protected override void FinishSetup()
    Overrides
    TrackedDevice.FinishSetup()
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023