기술 자료

Unity Engine

Unity Engine

SolidColor

Clear with a background color.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

SolidColor = 2

Remarks

Additional Resources: ReflectionProbe.clearFlags property.

Examples

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