Skip to content

PerspectiveCamera class

Represents a camera that projects the scene in perspective, so that objects farther from the camera appear smaller.

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

Declaration

public sealed class PerspectiveCamera : Camera

Public Members

name description
PerspectiveCamera() The default constructor.
FieldOfView { get; set; } Gets or sets the vertical angle of the camera's field of view, in radians. The default value is a quarter of pi, which is 45 degrees.

See Also

Used in articles