UxrAvatar.GetInitialBoneLocalRotation Method

Gets the initial local rotation of the given avatar bone.

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

Syntax

C#

public bool GetInitialBoneLocalRotation(
	Transform bone,
	out Quaternion rotation
)

Parameters

 

bone
Type: Transform
Bone to get the initial local rotation of.
rotation
Type: Quaternion
Gets the initial local rotation.

Return Value

Type: Boolean
Boolean telling whether the rotation was successfully retrieved or if the given bone was not found in the avatar.

See Also

Reference

UxrAvatar Class
UltimateXR.Avatar Namespace