UxrAvatar.GetRuntimeHandPose Method
Gets a given hand pose. This method is intended for use at runtime to animate the avatars. While GetHandPose(String, Boolean) uses UxrHandPoseAsset, GetRuntimeHandPose(String) uses UxrRuntimeHandPose. The main differences are:
- UxrRuntimeHandPose objects contain transforms that require less operations and are valid only for this avatar. They are high-performant and cached at the beginning, making them only available at runtime. They are used to animate the avatar hands at runtime.
- UxrHandPoseAsset objects contain transforms that are independent of the coordinate system used. They require more operations but can be applied to any avatar. They are mainly used in editor mode.
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public UxrRuntimeHandPose GetRuntimeHandPose(
string poseName
)
Parameters
- poseName
- Type: System.String
Return Value
Type: UxrRuntimeHandPose
Hand pose