Core.RotationConstraintData
Rotation constraint solver settings.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Struct
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public struct Core.RotationConstraintData
Fields
Value | Description |
|---|---|
| Index | The constrained bone index. |
| LocalAxesMask | Specifies the axes to which the constraint can apply rotation. |
| LocalOffset | Specifies an additional local space rotation offset to apply to the constrained bone, after it has been rotated toward its target. |
| SourceOffsets | The list of additional rotation offsets to apply on the sources. |
| SourceRotations | The list of source rotations that influence the constrained bone's orientation. The constraint calculates rotation toward each target to produce a weighted sum. The order of source rotations 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 rotation constraint solver. |