Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ReflectionProbe.RenderProbe

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

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

Parameters

targetTextureTarget 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: