Method GetFingerShapeConfiguration
GetFingerShapeConfiguration(XRHandFingerID)
Gets the XRFingerShapeConfiguration on the current device for the given XRHandFingerID.
Declaration
public virtual XRFingerShapeConfiguration GetFingerShapeConfiguration(XRHandFingerID fingerID)
Parameters
| Type | Name | Description |
|---|---|---|
| XRHandFingerID | fingerID | Which finger to get the XRFingerShapeConfiguration for. |
Returns
| Type | Description |
|---|---|
| XRFingerShapeConfiguration | A populated XRFingerShapeConfiguration representing range of motion for the given XRHandFingerID. |
Remarks
Called once for each finger on creation so that the subsystem will always have valid configurations to base detection math off of. If the provider does not override this, defaults will be reported - this means that if the device is more constrained in reporting joint data than the defaults, gestures and poses may not be detected correctly. Called after GetHandLayout(NativeArray<bool>) for each finger, but before the subsystem is returned during a call to XRHandSubsystemDescriptor.Create.