UxrAvatarRig.SetupRigElementsFromAnimator Method

Tries to sets up all rig elements from the Animator of a humanoid model.

Namespace: UltimateXR.Avatar.Rig
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static bool SetupRigElementsFromAnimator(
	UxrAvatarRig rig,
	Animator animator
)

Parameters

 

rig
Type: UltimateXR.Avatar.Rig.UxrAvatarRig
Rig to set
animator
Type: Animator
Source to get the rig elements from

Return Value

Type: Boolean
Whether the animator contained humanoid data

See Also

Reference

UxrAvatarRig Class
UltimateXR.Avatar.Rig Namespace