inherits from trackedreference
the animationstate gives full control over animation blending.
in most cases theanimationinterface is sufficient and easier to use. use the animationstate if you need full control over the animation blending any playback process.
the animationstate interface allows you to modify speed, weight, time and layers while any animation is playing. you can also setup animation mixing and wrapmode.
enables / disables the animation.
the weight of animation
wrapping mode of the animation.
the current time of the animation
the normalized time of the animation.
the playback speed of the animation. 1 is normal playback speed.
the normalized playback speed.
the length of the animation clip in seconds.
the layer of the animation. when calculating the final blend weights, animations in higher layers will get their weights
the clip that is being played by this animation state.
the name of the animation
which blend mode should be used?
adds a transform which should be animated. this allows you to reduce the number of animations you have to create.
removes a transform which should be animated.