docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method UpdateEnvironment

    UpdateEnvironment(Object)

    Update the environment used.

    Declaration
    public void UpdateEnvironment(Object environmentOrCubemapAsset)
    Parameters
    Type Name Description
    Object environmentOrCubemapAsset

    The new Environment to use. Or the Cubemap to use to build a new one. Other types will raise an ArgumentException.

    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)