Struct Camera | Project Tiny Rendering | 0.24.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Struct Camera

    Namespace: Unity.Tiny.Rendering
    Syntax
    public struct Camera : IComponentData

    Fields

    aspect

    Declaration
    public float aspect
    Field Value
    Type Description
    Single

    backgroundColor

    Declaration
    public Color backgroundColor
    Field Value
    Type Description
    Color

    clearFlags

    Declaration
    public CameraClearFlags clearFlags
    Field Value
    Type Description
    CameraClearFlags

    clipZFar

    Declaration
    public float clipZFar
    Field Value
    Type Description
    Single

    clipZNear

    Declaration
    public float clipZNear
    Field Value
    Type Description
    Single

    depth

    Declaration
    public float depth
    Field Value
    Type Description
    Single

    fov

    Declaration
    public float fov
    Field Value
    Type Description
    Single

    mode

    Declaration
    public ProjectionMode mode
    Field Value
    Type Description
    ProjectionMode

    viewportRect

    Declaration
    public Rect viewportRect
    Field Value
    Type Description
    Rect
    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