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¶
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¶
- class Camera
- namespace Eremex.AvaloniaUI.Controls3D