RenderProbe
Refreshes the probe's cubemap.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
RenderProbe()
Refreshes the probe's cubemap.
public int RenderProbe()
Returns
Type | Description |
|---|---|
| int | An integer representing a RenderID which can subsequently be used to check if the probe has finished rendering while rendering in time-slice mode. |
RenderProbe(RenderTexture)
Refreshes the probe's cubemap.
public int RenderProbe(RenderTexture targetTexture)
Parameters
Target RenderTexture in which rendering should be done. Specifying null will update the probe's default texture.
Returns
Type | Description |
|---|---|
| int | An integer representing a RenderID which can subsequently be used to check if the probe has finished rendering while rendering in time-slice mode. |