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
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[] |