SolidColor
Clear with a background color.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
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; }}