Skip to content

Camera.LookAt method

Aims the camera at a point.

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

Declaration

public void LookAt(Vector3 newTarget, Vector3 upVector)

Parameters

name type description
newTarget Vector3 The point that the camera looks at.
upVector Vector3 The direction of the scene that is treated as pointing up.

See Also

Used in articles