Version: 2021.2
LanguageEnglish
  • C#

HumanPoseHandler

class in UnityEngine

/

Implemented in: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

Use this class to create, read, and write the HumanPose for a humanoid avatar skeleton hierarchy or an avatar pose.

Constructors

HumanPoseHandlerCreates a human pose handler from an avatar and a root transform and either a list of joint paths.

Public Methods

GetHumanPoseComputes a human pose from the avatar skeleton, stores the pose in the human pose handler, and returns the human pose.
GetInternalAvatarPoseGets the internal human pose stored in the human pose handler and converts it to an avatar pose.
GetInternalHumanPoseGets the internal human pose stored in the human pose handler.
SetHumanPoseStores the specified human pose inside the human pose handler.
SetInternalAvatarPoseConverts an avatar pose to a human pose and stores it as the internal human pose inside the human pose handler.
SetInternalHumanPoseStores the specified human pose as the internal human pose inside the human pose handler.