UxrAvatarRig.CurlFinger Method

Curls an avatar finger.

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

Syntax

C#

public static void CurlFinger(
	UxrAvatar avatar,
	UxrHandSide handSide,
	UxrAvatarFinger finger,
	float proximalCurl,
	float intermediateCurl,
	float distalCurl,
	float spread = 0f
)

Parameters

 

avatar
Type: UltimateXR.Avatar.UxrAvatar
Avatar to curl the finger of
handSide
Type: UltimateXR.Core.UxrHandSide
Which hand the finger belongs to
finger
Type: UltimateXR.Avatar.Rig.UxrAvatarFinger
Finger to curl
proximalCurl
Type: System.Single
Curl angle in degrees for the proximal bone
intermediateCurl
Type: System.Single
Curl angle in degrees for the intermediate bone
distalCurl
Type: System.Single
Curl angle in degrees for the distal bone
spread (Optional)
Type: System.Single
Spread angle in degrees for the finger (finger “left” or “right” amount with respect to the wrist)

See Also

Reference

UxrAvatarRig Class
UltimateXR.Avatar.Rig Namespace