Unity - Scripting API: AnimatorControllerLayer
class in UnityEditor.Animations
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Description
Contains a state machine that controls animations of a model or parts of it.
Properties
| Property | Description |
|---|---|
| avatarMask | The AvatarMask that is used to mask the animation on the given layer. |
| blendingMode | The blending mode used by the layer. It is not taken into account for the first layer. |
| defaultWeight | The default blending weight that the layers has. It is not taken into account for the first layer. |
| iKPass | When active, the layer will have an IK pass when evaluated. It will trigger an OnAnimatorIK callback. |
| name | The name of the layer. |
| stateMachine | The state machine for the layer. |
| syncedLayerAffectsTiming | When active, the layer will take control of the duration of the Synced Layer. |
| syncedLayerIndex | Specifies the index of the Synced Layer. |