Unity - Scripting API: AnimationHumanStream
struct in UnityEngine.Animations
/
Implemented in:UnityEngine.AnimationModule
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
The humanoid stream of animation data passed from one Playable to another.
Properties
| Property | Description |
|---|---|
| bodyLocalPosition | The position of the body center of mass relative to the root. |
| bodyLocalRotation | The rotation of the body center of mass relative to the root. |
| bodyPosition | The position of the body center of mass in world space. |
| bodyRotation | The rotation of the body center of mass in world space. |
| humanScale | The scale of the Avatar. (Read Only) |
| isValid | Returns true if the stream is valid; false otherwise. (Read Only) |
| leftFootHeight | The left foot height from the floor. (Read Only) |
| leftFootVelocity | The left foot velocity from the last evaluated frame. (Read Only) |
| rightFootHeight | The right foot height from the floor. (Read Only) |
| rightFootVelocity | The right foot velocity from the last evaluated frame. (Read Only) |