docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetCausticsBuffer

    GetCausticsBuffer(out float)

    Function that returns the caustics buffer for the water surface. If the feature is disabled or the resource is not available the function returns null.

    Declaration
    public Texture GetCausticsBuffer(out float regionSize)
    Parameters
    Type Name Description
    float regionSize

    Output parameter that returns the size of the caustics region.

    Returns
    Type Description
    Texture

    A monochrome texture that holds the caustics simulation of the water surface.

    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)