docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetRenderData

    GetRenderData(Mode)

    Get the render data of 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. Otherwise the data retrieved by this function will be wrong.

    Declaration
    public HDProbe.RenderData GetRenderData(ProbeSettings.Mode targetMode)
    Parameters
    Type Name Description
    ProbeSettings.Mode targetMode

    The mode to query

    Returns
    Type Description
    HDProbe.RenderData

    The requested render data

    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)