Skip to content

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

public void LookCameraAtScene(CameraPosition cameraPosition)

Parameters

name type description
cameraPosition CameraPosition The predefined view that the camera takes.

See Also


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

public void LookCameraAtScene(Vector3 cameraViewDirection, Vector3 upDirection)

Parameters

name type description
cameraViewDirection Vector3 The direction that the camera looks in.
upDirection Vector3 The up direction of the camera.

See Also

Used in articles