Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SolidColor

Clear with a background color.
Read time 1 minuteLast updated 4 days ago

Definition

SolidColor = 2

Remarks

Additional Resources: ReflectionProbe.clearFlags property.

Examples

using UnityEngine;using System.Collections;public class ExampleScript : MonoBehaviour{ void Start() { ReflectionProbe probe = GetComponent<ReflectionProbe>(); // Clear with background color (ignore any skyboxes) probe.clearFlags = UnityEngine.Rendering.ReflectionProbeClearFlags.SolidColor; }}