docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Class OpenXRHandProvider

    Hand tracking provider for the OpenXR platform.

    Inheritance
    object
    SubsystemProvider
    SubsystemProvider<XRHandSubsystem>
    XRHandSubsystemProvider
    OpenXRHandProvider
    Inherited Members
    XRHandSubsystemProvider.GetFingerShapeConfiguration(XRHandFingerID)
    SubsystemProvider<XRHandSubsystem>.TryInitialize()
    SubsystemProvider.running
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.XR.Hands.OpenXR
    Assembly: solution.dll
    Syntax
    public class OpenXRHandProvider : XRHandSubsystemProvider

    Methods

    Name Description
    Destroy()

    See UnityEngine.SubsystemsImplementation.SubsystemProvider<TSubsystem>.Destroy().

    GetHandLayout(NativeArray<bool>)

    Gets the layout of hand joints for this provider, by having the provider mark each index corresponding to a XRHandJointID get marked as true if the provider attempts to track that joint.

    Start()

    See UnityEngine.SubsystemsImplementation.SubsystemProvider<TSubsystem>.Start().

    Stop()

    See UnityEngine.SubsystemsImplementation.SubsystemProvider<TSubsystem>.Stop().

    TryUpdateHands(UpdateType, ref Pose, NativeArray<XRHandJoint>, ref Pose, NativeArray<XRHandJoint>)

    Attempts to retrieve current hand-tracking data from the provider.

    In This Article
    Back to top
    Copyright © 2023 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)