Graphics3DControl.LookCameraAtScene method (1 of 2)¶
Moves the camera to a predefined view of the scene and places it at a distance that fits the scene into the control.
Namespace: Eremex.AvaloniaUI.Controls3D
Assembly: Eremex.Avalonia.Controls3D.dll
NuGet Package: Eremex.Avalonia.Controls3D
Declaration¶
Parameters¶
| name | type | description |
|---|---|---|
| cameraPosition | CameraPosition |
The predefined view that the camera takes. |
See Also¶
- enum CameraPosition
- class Graphics3DControl
- namespace Eremex.AvaloniaUI.Controls3D
Graphics3DControl.LookCameraAtScene method (2 of 2)¶
Moves the camera to the given view of the scene and places it at a distance that fits the scene into the control.
Namespace: Eremex.AvaloniaUI.Controls3D
Assembly: Eremex.Avalonia.Controls3D.dll
NuGet Package: Eremex.Avalonia.Controls3D
Declaration¶
Parameters¶
| name | type | description |
|---|---|---|
| cameraViewDirection | Vector3 |
The direction that the camera looks in. |
| upDirection | Vector3 |
The up direction of the camera. |
See Also¶
- class Graphics3DControl
- namespace Eremex.AvaloniaUI.Controls3D