C# Class UnityEngine.HumanPoseHandler

A handler that lets you read or write a HumanPose from or to a humanoid avatar skeleton hierarchy.

Inheritance: IDisposable
ファイルを表示 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
GetHumanPose ( HumanPose &humanPose ) : void
HumanPoseHandler ( Avatar avatar, Transform root ) : System

Creates a human pose handler from an avatar and a root transform.

SetHumanPose ( HumanPose &humanPose ) : void

Private Methods

Method Description
Dispose ( ) : void
INTERNAL_CALL_Internal_GetHumanPose ( HumanPoseHandler self, Vector3 &bodyPosition, Quaternion &bodyRotation, float muscles ) : bool
INTERNAL_CALL_Internal_SetHumanPose ( HumanPoseHandler self, Vector3 &bodyPosition, Quaternion &bodyRotation, float muscles ) : bool
Internal_GetHumanPose ( Vector3 &bodyPosition, Quaternion &bodyRotation, float muscles ) : bool
Internal_HumanPoseHandler ( Avatar avatar, Transform root ) : void
Internal_SetHumanPose ( Vector3 &bodyPosition, Quaternion &bodyRotation, float muscles ) : bool

Method Details

GetHumanPose() public method

public GetHumanPose ( HumanPose &humanPose ) : void
humanPose HumanPose
return void

HumanPoseHandler() public method

Creates a human pose handler from an avatar and a root transform.

public HumanPoseHandler ( Avatar avatar, Transform root ) : System
avatar Avatar The avatar that defines the humanoid rig on skeleton hierarchy with root as the top most parent.
root Transform The top most node of the skeleton hierarchy defined in humanoid avatar.
return System

SetHumanPose() public method

public SetHumanPose ( HumanPose &humanPose ) : void
humanPose HumanPose
return void