Search Results for

    Show / Hide Table of Contents

    Class Camera

    Inheritance
    object
    Camera
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: glTFLoader.Schema
    Assembly: Evergine.Assets.dll
    Syntax
    public class Camera

    Properties

    Extensions

    Dictionary object with extension-specific objects.

    Declaration
    [JsonProperty("extensions")]
    public Dictionary<string, object> Extensions { get; set; }
    Property Value
    Type Description
    Dictionary<string, object>

    Extras

    Application-specific data.

    Declaration
    [JsonProperty("extras")]
    public Extras Extras { get; set; }
    Property Value
    Type Description
    Extras

    Name

    The user-defined name of this object.

    Declaration
    [JsonProperty("name")]
    public string Name { get; set; }
    Property Value
    Type Description
    string

    Orthographic

    An orthographic camera containing properties to create an orthographic projection matrix.

    Declaration
    [JsonProperty("orthographic")]
    public CameraOrthographic Orthographic { get; set; }
    Property Value
    Type Description
    CameraOrthographic

    Perspective

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

    Declaration
    [JsonProperty("perspective")]
    public CameraPerspective Perspective { get; set; }
    Property Value
    Type Description
    CameraPerspective

    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
    Type Description
    Camera.TypeEnum

    Methods

    ShouldSerializeExtensions()

    Declaration
    public bool ShouldSerializeExtensions()
    Returns
    Type Description
    bool

    ShouldSerializeExtras()

    Declaration
    public bool ShouldSerializeExtras()
    Returns
    Type Description
    bool

    ShouldSerializeName()

    Declaration
    public bool ShouldSerializeName()
    Returns
    Type Description
    bool

    ShouldSerializeOrthographic()

    Declaration
    public bool ShouldSerializeOrthographic()
    Returns
    Type Description
    bool

    ShouldSerializePerspective()

    Declaration
    public bool ShouldSerializePerspective()
    Returns
    Type Description
    bool

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX