Experimental: this API is experimental and might be changed or removed in the future.

AnimationHumanStream.GetGoalLocalRotation

Switch to Manual
public Quaternion GetGoalLocalRotation (AvatarIKGoal index);

Parameters

index所查询的 AvatarIKGoal。

Returns

Quaternion The rotation of this IK goal.

Description

Returns the rotation of this IK goal relative to the root.

Some playable like AnimationClipPlayable can generate IK goals. This function can be used to retrieve goal generate from a previous playable in the graph.