Struct Camera | Project Tiny | 0.32.0-preview.54
docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021