---
title: Core.RotationConstraintData
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/core/rotationconstraintdata
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/core/rotationconstraintdata.md
last_updated: 2026-11-30
generated_at: 2026-11-30T21:09:00.679Z
locale: en-us
---

# Core.RotationConstraintData

> Rotation constraint solver settings.

## Definition

* **Type:** Struct
* **Namespace:** [Unity.Animations](/engine/7000.0/script-reference/unity/animations.md)
* **Assembly:** [UnityEngine.AnimationCoreModule](/engine/7000.0/script-reference/modules/unityengine-animationcoremodule.md)

```csharp
public struct Core.RotationConstraintData
```

## Fields

| Value                                                                                                              | Description                                                                                                                                                                                                                |
| ------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Index](/engine/7000.0/script-reference/unity/animations/core/rotationconstraintdata/index.md)                     | The constrained bone index.                                                                                                                                                                                                |
| [LocalAxesMask](/engine/7000.0/script-reference/unity/animations/core/rotationconstraintdata/localaxesmask.md)     | Specifies the axes to which the constraint can apply rotation.                                                                                                                                                             |
| [LocalOffset](/engine/7000.0/script-reference/unity/animations/core/rotationconstraintdata/localoffset.md)         | Specifies an additional local space rotation offset to apply to the constrained bone, after it has been rotated toward its target.                                                                                         |
| [SourceOffsets](/engine/7000.0/script-reference/unity/animations/core/rotationconstraintdata/sourceoffsets.md)     | The list of additional rotation offsets to apply on the sources.                                                                                                                                                           |
| [SourceRotations](/engine/7000.0/script-reference/unity/animations/core/rotationconstraintdata/sourcerotations.md) | 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](/engine/7000.0/script-reference/unity/animations/core/rotationconstraintdata/sourceweights.md)     | The list of weights each source contributes to the final constrained pose.                                                                                                                                                 |

## Static Methods

| Method                                                                                             | Description                                                         |
| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| [Default](/engine/7000.0/script-reference/unity/animations/core/rotationconstraintdata/default.md) | Returns a set of default values for the rotation constraint solver. |
