Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Skybox

Clear with the skybox.
Read time 1 minuteLast updated 4 days ago

Definition

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; }}