Class CameraPerspective
Inheritance
CameraPerspective
Assembly: Evergine.Assets.dll
Syntax
public class CameraPerspective
Properties
AspectRatio
The floating-point aspect ratio of the field of view.
Declaration
[JsonProperty("aspectRatio")]
public float? AspectRatio { get; set; }
Property Value
Extensions
Dictionary object with extension-specific objects.
Declaration
[JsonProperty("extensions")]
public Dictionary<string, object> Extensions { get; set; }
Property Value
Application-specific data.
Declaration
[JsonProperty("extras")]
public Extras Extras { get; set; }
Property Value
Yfov
The floating-point vertical field of view in radians.
Declaration
[JsonRequired]
[JsonProperty("yfov")]
public float Yfov { get; set; }
Property Value
Zfar
The floating-point distance to the far clipping plane.
Declaration
[JsonProperty("zfar")]
public float? Zfar { get; set; }
Property Value
Znear
The floating-point distance to the near clipping plane.
Declaration
[JsonRequired]
[JsonProperty("znear")]
public float Znear { get; set; }
Property Value
Methods
ShouldSerializeAspectRatio()
Declaration
public bool ShouldSerializeAspectRatio()
Returns
ShouldSerializeExtensions()
Declaration
public bool ShouldSerializeExtensions()
Returns
Declaration
public bool ShouldSerializeExtras()
Returns
ShouldSerializeZfar()
Declaration
public bool ShouldSerializeZfar()
Returns
Extension Methods