ドキュメント

Unity Engine

Unity Engine

Skybox

Clear with the skybox.
読み終わるまでの所要時間 1 分最終更新 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; }}