struct in UnityEngine.Experimental.Animations
/
Implemented in:UnityEngine.AnimationModule
The stream of animation data passed from one Playable to another.
The AnimationStream structure is passed through the animation Playable structures, like AnimationClipPlayable and AnimationMixerPlayable. They can be modified when used with an IAnimationJobPlayable, like the AnimationScriptPlayable.
The Playables implementing IAnimationJobPlayable take a custom C# job, which must implement IAnimationJob, and the AnimationStream is then passed to its callbacks during the animation processing pass.
See Also: IAnimationJob, AnimationScriptPlayable, TransformStreamHandle, PropertyStreamHandle, TransformSceneHandle, and PropertySceneHandle.
angularVelocity | Gets or sets the avatar angular velocity for the evaluated frame. |
deltaTime | Gets the delta time for the evaluated frame. (Read Only) |
inputStreamCount | Gets the number of input streams. (Read Only) |
isHumanStream | Returns true if the stream is from a humanoid avatar; false otherwise. (Read Only) |
isValid | Returns true if the stream is valid; false otherwise. (Read Only) |
rootMotionPosition | Gets the root motion position for the evaluated frame. (Read Only) |
rootMotionRotation | Gets the root motion rotation for the evaluated frame. (Read Only) |
velocity | Gets or sets the avatar velocity for the evaluated frame. |
AsHuman | Gets the same stream, but as an AnimationHumanStream. |
GetInputStream | Gets the AnimationStream of the playable input at index. |