RenderProbe
7/14/25Less than 1 minute
ReflectionProbe.RenderProbe(RenderTexture targetTexture = nil)
Refreshes the probe's cubemap.
Parameters:
| Name | Type | Description |
|---|---|---|
| targetTexture | RenderTexture | Target RenderTexture in which rendering should be done. Specifying null will update the probe's default texture. |
Returns:
| type | Description |
|---|---|
| number | An integer representing a RenderID which can subsequently be used to check if the probe has finished rendering while rendering in time-slice mode. |
Usage
---@type ReflectionProbe
local reflectionprobe;
---@type RenderTexture
local targetTexture;
local val0 = reflectionprobe.RenderProbe(targetTexture)
