Declaration
public Quaternion GetBoneRotation(HumanBodyBones humanBoneId)
Parameter
Parameter Name | Parameter Type |
---|---|
humanBoneId | Human body bones to query, please refer to the enumeration HumanBodyBones to get a list of possible values |
Description
Returns the Transform of the bone mapped by the human bone id. "null" will be returned if the Animator component is disabled, no description of the Avatar exists, or an invalid "bone id" exists.