docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetTexture

    SetTexture(Mode, Texture)

    Set the texture for a specific target mode.

    Declaration
    public Texture SetTexture(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.

    Exceptions
    Type Condition
    ArgumentException

    When the texture is invalid.

    ArgumentOutOfRangeException

    When the mode is invalid

    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)