docs.unity3d.com
    Show / Hide Table of Contents

    Class Camera

    A camera’s projection

    Inheritance
    Object
    NamedObject
    Camera
    Inherited Members
    NamedObject.name
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: GLTFast.Schema
    Syntax
    [Serializable]
    public class Camera : NamedObject

    Fields

    orthographic

    Declaration
    public CameraOrthographic orthographic
    Field Value
    Type Description
    CameraOrthographic

    perspective

    Declaration
    public CameraPerspective perspective
    Field Value
    Type Description
    CameraPerspective

    Methods

    GetCameraType()

    Camera.Type typed and cached getter onto GLTFast.Schema.Camera.type string.

    Declaration
    public Camera.Type GetCameraType()
    Returns
    Type Description
    Camera.Type

    Camera type, if it was retrieved correctly. Perspective otherwise

    SetCameraType(Camera.Type)

    Camera.Type typed setter for GLTFast.Schema.Camera.type string.

    Declaration
    public void SetCameraType(Camera.Type type)
    Parameters
    Type Name Description
    Camera.Type type

    Camera type

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023