Class Camera
Assembly: Evergine.Assets.dll
Syntax
Properties
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
Name
The user-defined name of this object.
Declaration
[JsonProperty("name")]
public string Name { get; set; }
Property Value
Orthographic
An orthographic camera containing properties to create an orthographic projection matrix.
Declaration
[JsonProperty("orthographic")]
public CameraOrthographic Orthographic { get; set; }
Property Value
Perspective
A perspective camera containing properties to create a perspective projection matrix.
Declaration
[JsonProperty("perspective")]
public CameraPerspective Perspective { get; set; }
Property Value
Type
Specifies if the camera uses a perspective or orthographic projection.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonRequired]
[JsonProperty("type")]
public Camera.TypeEnum Type { get; set; }
Property Value
Methods
ShouldSerializeExtensions()
Declaration
public bool ShouldSerializeExtensions()
Returns
Declaration
public bool ShouldSerializeExtras()
Returns
ShouldSerializeName()
Declaration
public bool ShouldSerializeName()
Returns
ShouldSerializeOrthographic()
Declaration
public bool ShouldSerializeOrthographic()
Returns
ShouldSerializePerspective()
Declaration
public bool ShouldSerializePerspective()
Returns
Extension Methods