docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsSceneLightingDisabled

    IsSceneLightingDisabled(Camera)

    Returns true if "Scene Lighting" is enabled for the view associated with the given camera.

    Declaration
    public static bool IsSceneLightingDisabled(Camera camera)
    Parameters
    Type Name Description
    Camera camera

    Input camera.

    Returns
    Type Description
    bool

    True if "Scene Lighting" is enabled for the view associated with the given camera.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)