docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetRenderData

    SetRenderData(Mode, RenderData)

    Set the render data for a specific mode.

    Note: The HDProbe stores only one RenderData per mode, even for view dependent probes with multiple viewers. In that case, make sure that you have set the RenderData relative to the expected viewer before rendering.

    Declaration
    public void SetRenderData(ProbeSettings.Mode targetMode, HDProbe.RenderData renderData)
    Parameters
    Type Name Description
    ProbeSettings.Mode targetMode

    The mode to update

    HDProbe.RenderData renderData

    The data to set

    Exceptions
    Type Condition
    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)