Select your preferred scripting language. All code snippets will be displayed in this language.
class in UnityEditor.Animations
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.
CloseFor 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.
CloseThe Animation Layer contains a state machine that controls animations of a model or part of it.
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. |
GetOverrideBehaviours | Gets the override behaviour list for the state on the given layer. |
GetOverrideMotion | Gets the override motion for the state on the given layer. |
SetOverrideBehaviours | Sets the override behaviour list for the state on the given layer. |
SetOverrideMotion | Sets the override motion for the state on the given layer. |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information