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

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.