Version: 5.4 beta (switch to 5.3)
LanguageEnglish
  • C#
  • JS

Script language

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

RefreshMode

enumeration

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

Sumbission failed

For some reason your suggested change could not be submitted. Please try again 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

Description

An enum describing the way a light probe volume refreshes in the Player.

Variables

AutomaticAutomatically detects updates in light probes and triggers an update of the light probe volume.
EveryFrameCauses Unity to update the light probe volume every frame. Note that updating a light probe volume every frame may be costly. The cost depends on the resolution of the interpolated light probe grid. The light probe interpolation is multi-threaded.
ViaScriptingUsing this option indicates that the light probe volume will never be automatically updated by Unity. This is useful if you wish to completely control the light probe volume refresh behavior via scripting.