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.SolidColor

Switch to Manual

Description

Clear with a background color.

See Also: ReflectionProbe.clearFlags property.

var probe = GetComponent.<ReflectionProbe>();
probe.clearFlags = ReflectionProbeClearFlags.SolidColor;