docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetDepthTexture

    SetDepthTexture(Mode, Texture)

    Set the depth texture for a specific target mode.

    Declaration
    public Texture SetDepthTexture(ProbeSettings.Mode targetMode, Texture texture)
    Parameters
    Type Name Description
    ProbeSettings.Mode targetMode

    The mode to update.

    Texture texture

    The texture to set.

    Returns
    Type Description
    Texture

    The texture that was set.

    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)