기술 자료

Unity Engine

Unity Engine

Skybox

Clear with the skybox.
읽는 시간 1분최근 업데이트: 한 달 전

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