UxrAvatarRig.TryToResolveHand Method
Tries to solve missing bone elements of a hand using a SkinnedMeshRenderer as source.
Namespace: UltimateXR.Avatar.Rig
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static bool TryToResolveHand(
UxrAvatarHand hand,
Transform root,
Transform current,
SkinnedMeshRenderer skin
)
Parameters
- hand
- Type: UltimateXR.Avatar.Rig.UxrAvatarHand
Hand to resolve - root
- Type: Transform
The wrist, root of the hand - current
- Type: Transform
The current transform being processed. The original call is using the same as root. - skin
- Type: SkinnedMeshRenderer
Source skin to navigate the bones looking for missing elements that are not in the hand
Return Value
Type: Boolean
Whether the hand was correctly solved