A class in Root.Township, Alta.Character.
One recorded sample used to place the elbow in arm IK: a hand pose and where the elbow should be for it. ElbowController picks the samples closest to the current hand pose.
Constructors
| Member | What it is |
|---|
ElbowGuideDataPoint() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
6 private and internal fields
| Member | What it is |
|---|
private ElbowDataPointSet dataPointSet | Backing field for DataPointSet. |
private Vector3 elbowHintPosition | Backing field for ElbowHintPosition. |
private HandIndex handIndex | Backing field for HandIndex. |
private Vector3 handPosition | Backing field for HandPosition. |
private Quaternion handRotation | Backing field for HandRotation. |
private float weight | Backing field for Weight. |
Properties
| Member | What it is |
|---|
ElbowDataPointSet DataPointSet { get; set; } | The set this data point belongs to. |
Vector3 ElbowHintPosition { get; set; } | Where the elbow should be for this hand pose, relative to the body. |
HandIndex HandIndex { get; set; } | Which hand the sample was recorded for. Samples for the other hand are mirrored. |
Vector3 HandPosition { get; set; } | Hand position relative to the body. |
Quaternion HandRotation { get; set; } | Hand rotation relative to the body. |
float Weight { get; set; } | Divides the match score, so a higher weight makes the sample more likely to be picked. Must not be 0. |
Methods
Used in
Members of other types that take, return or hold a ElbowGuideDataPoint: