C# Class UnityEngine.HumanPoseHandler

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

Inheritance: IDisposable
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public GetHumanPose ( HumanPose &humanPose ) : void
humanPose HumanPose
Résultat void

HumanPoseHandler() public méthode

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.
Résultat System

SetHumanPose() public méthode

public SetHumanPose ( HumanPose &humanPose ) : void
humanPose HumanPose
Résultat void