Skip to content

Camera.Rotate method

Orbits the camera around its target, keeping the distance to the target unchanged.

Namespace: Eremex.AvaloniaUI.Controls3D
Assembly: Eremex.Avalonia.Controls3D.dll
NuGet Package: Eremex.Avalonia.Controls3D

Declaration

public void Rotate(float xRad, float yRad)

Parameters

name type description
xRad float The angle of the rotation around the camera's rightward axis, in radians.
yRad float The angle of the rotation around the camera's upward axis, in radians.

See Also

Used in articles