ドキュメント

Unity Engine

Download Unity

Unity Engine

clearFlags

How the reflection probe clears the background.
読み終わるまでの所要時間 1 分最終更新 1日前

Definition

public ReflectionProbeClearFlags clearFlags { get; set; }

Remarks

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; }}
Additional Resources: ReflectionProbeClearFlags.