docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct HandTrackingDataSourceConfig

    Configuration for per-hand preferred hand tracking data sources. Used with IXRHandConfigurationHandler<TConfig> to stage and query preferred sources on the HandTrackingDataSourceFeature.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.XR.Hands.OpenXR
    Assembly: Unity.XR.Hands.dll
    Syntax
    public struct HandTrackingDataSourceConfig
    Remarks

    Passing this struct to TryUpdateConfiguration<TConfig>(TConfig) triggers a hand tracker restart on the next Dynamic update so the new preferred sources take effect at tracker creation time.

    Fields

    leftPreferredSources

    The preferred data sources for the left hand.

    Declaration
    public HandTrackingDataSource[] leftPreferredSources
    Field Value
    Type Description
    HandTrackingDataSource[]

    rightPreferredSources

    The preferred data sources for the right hand.

    Declaration
    public HandTrackingDataSource[] rightPreferredSources
    Field Value
    Type Description
    HandTrackingDataSource[]
    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)