UxrAvatarRig.TryToInferMissingRigElements Method
Tries to infer rig elements by doing some checks on names and bone hierarchy. This is useful when we have a rig that has no full humanoid avatar set up on its animator .
Namespace: UltimateXR.Avatar.Rig
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static void TryToInferMissingRigElements(
UxrAvatarRig rig,
IEnumerable<SkinnedMeshRenderer> skins
)
Parameters
- rig
- Type: UltimateXR.Avatar.Rig.UxrAvatarRig
[Missing documentation for “M:UltimateXR.Avatar.Rig.UxrAvatarRig.TryToInferMissingRigElements(UltimateXR.Avatar.Rig.UxrAvatarRig,System.Collections.Generic.IEnumerable{UnityEngine.SkinnedMeshRenderer})”] - skins
- Type: System.Collections.Generic.IEnumerable(SkinnedMeshRenderer)
[Missing documentation for “M:UltimateXR.Avatar.Rig.UxrAvatarRig.TryToInferMissingRigElements(UltimateXR.Avatar.Rig.UxrAvatarRig,System.Collections.Generic.IEnumerable{UnityEngine.SkinnedMeshRenderer})”]