Unity - Scripting API: UnityEngine.AnimationModule

Suggest a change

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.

Close

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.

Close

Cancel

Description

The Animation module implements Unity's animation system.

Classes

Class Description
AimConstraintConstrains the orientation of an object relative to the position of one or more source objects, such that the object is facing the average position of the sources.
AnimationThe animation component is used to play back animations.
AnimationClipStores keyframe based animations.
AnimationEventAnimationEvent lets you call a script function similar to SendMessage as part of playing back an animation.
AnimationPlayableBindingA PlayableBinding that contains information representing an AnimationPlayableOutput.
AnimationPlayableOutputExtensionsStatic class providing experimental extension methods for AnimationPlayableOutput .
AnimationPlayableUtilitiesImplements high-level utility methods to simplify use of the Playable API with Animations.
AnimationSceneHandleUtilityStatic class providing utility functions for animation scene handles.
AnimationStateThe AnimationState gives full control over animation blending.
AnimationStreamHandleUtilityStatic class providing utility functions for animation stream handles.
AnimatorInterface to control the Mecanim animation system.
AnimatorControllerParameterUsed to communicate between scripting and the controller. Some parameters can be set in scripting and used by the controller, while other parameters are based on Custom Curves in Animation Clips and can be sampled using the scripting API.
AnimatorJobExtensionsStatic class providing extension methods for Animator and the animation C# jobs.
AnimatorOverrideControllerInterface to control Animator Override Controller.
AnimatorUtilityVarious utilities for animator manipulation.
AvatarAvatar definition.
AvatarBuilderClass to build avatars from user scripts.
AvatarMaskAvatarMask is used to mask out humanoid body parts and transforms.
DiscreteEvaluationAttributeUse this attribute to indicate that a property will be evaluated as a discrete value during animation playback.
GenericBindingUtilityAnimation utility functions for reading and writing values from Unity components.
HumanPoseHandlerUse this class to create, read, and write the HumanPose for a humanoid avatar skeleton hierarchy or an avatar pose.
HumanTraitDetails of all the human bone and muscle types defined by Mecanim.
LookAtConstraint Constrains the orientation of an object relative to the position of one or more source objects, such that the object is facing the average position of the sources. The LookAtConstraint is a simplified AimConstraint typically used with a Camera.
MotionBase class for AnimationClips and BlendTrees.
NotKeyableAttributeUse this attribute in a script to mark a property as non-animatable.
ParentConstraintConstrains the orientation and translation of an object to one or more source objects. The constrained object behaves as if it is in the hierarchy of the sources.
PositionConstraintConstrains the position of an object relative to the position of one or more source objects.
RotationConstraintConstrains the rotation of an object relative to the rotation of one or more source objects.
RuntimeAnimatorControllerThe runtime representation of the AnimatorController. Use this representation to change the Animator Controller during runtime.
ScaleConstraintConstrains the scale of an object relative to the scale of one or more source objects.
SharedBetweenAnimatorsAttributeThe SharedBetweenAnimatorsAttribute specifies that this StateMachineBehaviour is instantiated only once and shared by all Animator instances. This attribute reduces the memory footprint for each controller instance.
StateMachineBehaviourStateMachineBehaviour is a component that can be added to a state machine state. It's the base class any script on a state must derive from.