UxrManager.RotateAvatar Method

Rotates the avatar around its vertical axis, where a positive angle turns it to the right and a negative angle to the left.

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

Syntax

C#

public void RotateAvatar(
	UxrAvatar avatar,
	float degrees,
	bool propagateEvents = true
)

Parameters

 

avatar
Type: UltimateXR.Avatar.UxrAvatar
The avatar to rotate
degrees
Type: System.Single
The degrees to rotate
propagateEvents (Optional)
Type: System.Boolean
Whether to propagate AvatarMoving/AvatarMoved events

See Also

Reference

UxrManager Class
UltimateXR.Core Namespace