HumanPoseHandler
Use this class to create, read, and write the HumanPose for a humanoid avatar skeleton hierarchy or an avatar pose.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.AnimationModule
- Implements: IDisposable
public class HumanPoseHandler : IDisposable
Constructors
Constructor | Description |
|---|---|
| HumanPoseHandler(UnityEngine.Avatar,System.String[]) | Creates a human pose handler from an |
| HumanPoseHandler(UnityEngine.Avatar,UnityEngine.Transform) | Creates a human pose handler from an |
Methods
Method | Description |
|---|---|
| GetHumanPose | Computes a human pose from the avatar skeleton, stores the pose in the human pose handler, and returns the human pose. |
| GetInternalAvatarPose | Gets the internal human pose stored in the human pose handler and converts it to an avatar pose. |
| GetInternalHumanPose | Gets the internal human pose stored in the human pose handler. |
| SetHumanPose | Stores the specified human pose inside the human pose handler. |
| SetInternalAvatarPose | Converts an avatar pose to a human pose and stores it as the internal human pose inside the human pose handler. |
| SetInternalHumanPose | Stores the specified human pose as the internal human pose inside the human pose handler. |