Class CameraPerspective

CameraPerspective class

A perspective camera containing properties to create a perspective projection matrix.

public sealed class CameraPerspective : ExtraProperties, ICamera

Properties

NameDescription
AspectRatio { get; }Gets the aspect ratio between horizontal window size and vertical window size.
Extensions { get; }Gets a collection of JsonSerializable instances.
Extras { get; set; }Gets or sets the extras content of this instance.
IsOrthographic { get; }
IsPerspective { get; }
Matrix { get; }Gets the projection matrix for the current settings
VerticalFOV { get; }Gets the vertical field of view, in radians
ZFar { get; }Gets the far plane distance in the Z axis.
ZNear { get; }Gets the near plane distance in the Z axis.

Methods

NameDescription
GetExtension<T>()
RemoveExtensions<T>()
RemoveExtensions<T>(T)
SetExtension<T>(T)
UseExtension<T>()
static VerifyParameters(float?, float, float, float)

See Also