docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ExportSkyToTexture

    ExportSkyToTexture(Camera)

    Export the provided camera's sky to a flattened cubemap.

    Declaration
    public Texture2D ExportSkyToTexture(Camera camera)
    Parameters
    Type Name Description
    Camera camera

    Requested camera.

    Returns
    Type Description
    Texture2D

    Result texture.

    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)