Struct XRFingerShapeCondition.Target
A configuration for a XRFingerShapeType and its desired value in a condition.
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 XRFingerShapeType to in this condition.
Declaration
public float desired { get; set; }
Property Value
Type | Description |
---|---|
float |
lowerTolerance
The minimum the value can differ from the desired for the condition to be met.
Declaration
public float lowerTolerance { get; set; }
Property Value
Type | Description |
---|---|
float |
shapeType
The XRFingerShapeType that is being checked in this condition.
Declaration
public XRFingerShapeType shapeType { get; set; }
Property Value
Type | Description |
---|---|
XRFingerShapeType |
tolerance
The deprecated 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 the value can differ from the desired for the condition to be met.
Declaration
public float upperTolerance { get; set; }
Property Value
Type | Description |
---|---|
float |