Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

public class HumanPoseHandler : IDisposable

Constructors

Constructor

Description

HumanPoseHandler(UnityEngine.Avatar,System.String[])Creates a human pose handler from an
avatar
and a
root
transform and either a list of joint paths.
HumanPoseHandler(UnityEngine.Avatar,UnityEngine.Transform)Creates a human pose handler from an
avatar
and a
root
transform and either a list of joint paths.

Methods

Method

Description

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.