기술 자료

Unity Engine

Unity Engine

clearFlags

How the reflection probe clears the background.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
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.