Struct XRFingerShapeCondition.Target
A configuration for a XRFinger
Inherited Members
Namespace: UnityEngine .XR.Hands.Gestures
Assembly: Unity.XR.Hands.dll
Syntax
[Serializable]
public struct XRFingerShapeCondition.Target
Properties
desired
The desired value to compare the specified
XRFinger
Declaration
public float desired { get; set; }
Property Value
Type | Description |
---|---|
float |
lowerTolerance
The minimum allowable decrease in range from the desired value that will allow for a condition to be met. for the condition to be met.
Declaration
public float lowerTolerance { get; set; }
Property Value
Type | Description |
---|---|
float |
shapeType
The XRFinger
Declaration
public XRFingerShapeType shapeType { get; set; }
Property Value
Type | Description |
---|---|
XRFinger |
tolerance
The deprecated minimum and maximum the value can differ from the desired for the condition to be met.
Declaration
[Obsolete("Deprecated. Use upperTolerance and lowerTolerance instead.")]
public float tolerance { get; set; }
Property Value
Type | Description |
---|---|
float |
upperTolerance
The maximum allowable increase in range from the desired value that will allow for a condition to be met.
Declaration
public float upperTolerance { get; set; }
Property Value
Type | Description |
---|---|
float |