UxrAvatar.GetHandPose Method
Gets a given hand pose. It can happen that the pose name is present in a prefab/instance and at the same time also in any of the parent prefabs upwards in the hierarchy. In this case the hand pose in the child will always have priority so that child prefabs can override poses that they inherit from parent prefabs.
Namespace: UltimateXR.Avatar
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public UxrHandPoseAsset GetHandPose(
string poseName,
bool usePrefabInheritance = true
)
Parameters
- poseName
- Type: System.String
Pose to get - usePrefabInheritance (Optional)
- Type: System.Boolean
Whether to look for the pose in any prefab above the first prefab in the hierarchy.
Return Value
Type: UxrHandPoseAsset
Hand pose object