Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

ReflectionProbeClearFlags.Skybox

Switch to Manual

Description

Clear with the skybox.

If a skybox is not set up, the Reflection Probe will clear with a backgroundColor. See Also: ReflectionProbe.clearFlags property.

// Clear with a skybox
var probe = GetComponent.<ReflectionProbe>();
probe.clearFlags = ReflectionProbeClearFlags.Skybox;