ReflectionProbe.RenderProbe

Switch to Manual
public int RenderProbe(RenderTexture targetTexture = null);

Parameters

targetTexture Target RendeTexture in which rendering should be done. Specifying null will update the probe's default texture.

Returns

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.

See Also: IsFinishedRendering See Also: timeSlicingMode

Description

Refreshes the probe's cubemap.

Did you find this page useful? Please give it a rating: