docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CameraBase<TOrthographic, TPerspective>

    A camera’s projection

    Inheritance
    object
    NamedObject
    CameraBase
    CameraBase<TOrthographic, TPerspective>
    Camera
    Camera
    Inherited Members
    CameraBase.type
    CameraBase.GetCameraType()
    CameraBase.SetCameraType(CameraBase.Type)
    NamedObject.name
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: GLTFast.Schema
    Assembly: solution.dll
    Syntax
    [Serializable]
    public abstract class CameraBase<TOrthographic, TPerspective> : CameraBase where TOrthographic : CameraOrthographic where TPerspective : CameraPerspective
    Type Parameters
    Name Description
    TOrthographic

    Orthographic camera type

    TPerspective

    Perspective camera type

    Fields

    orthographic

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

    Declaration
    public TOrthographic orthographic
    Field Value
    Type Description
    TOrthographic

    perspective

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

    Declaration
    public TPerspective perspective
    Field Value
    Type Description
    TPerspective

    Properties

    Orthographic

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

    Declaration
    public override CameraOrthographic Orthographic { get; }
    Property Value
    Type Description
    CameraOrthographic
    Overrides
    CameraBase.Orthographic

    Perspective

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

    Declaration
    public override CameraPerspective Perspective { get; }
    Property Value
    Type Description
    CameraPerspective
    Overrides
    CameraBase.Perspective
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)