Core.PositionConstraintData
Position constraint solver settings.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Struct
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public struct Core.PositionConstraintData
Fields
Value | Description |
|---|---|
| Index | The constrained bone index. |
| LocalAxesMask | Specifies the axes to which the constraint can apply translation. |
| LocalOffset | Specifies an additional local space translation offset to apply to the constrained bone, after it has been moved toward its target. |
| SourceOffsets | The list of additional translation offsets to apply on the source positions. |
| SourcePositions | The list of source positions that influence the constrained bone's position. The constraint calculates translation toward each target to produce a weighted sum. The order of source positions does not affect the result. |
| SourceWeights | The list of weights each source contributes to the final constrained pose. |
Static Methods
Method | Description |
|---|---|
| Default | Returns a set of default values for the position constraint solver. |