UxrAvatar.GetInitialBoneLocalPosition Method
Gets the initial local position of the given avatar bone.
Namespace: UltimateXR.Avatar
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public bool GetInitialBoneLocalPosition(
Transform bone,
out Vector3 position
)
Parameters
- bone
- Type: Transform
Bone to get the initial local position of. - position
- Type: Vector3
Gets the initial local position.
Return Value
Type: Boolean
Boolean telling whether the position was successfully retrieved or if the given bone was not found in the avatar.