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 |