Skybox
Clear with the skybox.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
Skybox = 1
Remarks
If a skybox is not set up, the Reflection Probe will clear with a ReflectionProbe.backgroundColor. Additional Resources: ReflectionProbe.clearFlags property.
Examples
using UnityEngine;using System.Collections;public class ExampleScript : MonoBehaviour{ void Start() { ReflectionProbe probe = GetComponent<ReflectionProbe>(); // Clear with skybox probe.clearFlags = UnityEngine.Rendering.ReflectionProbeClearFlags.Skybox; }}