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 |