Version: 2022.3
言語: 日本語

説明

リフレクションプローブが背景をどのように決定するか

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

関連項目: ReflectionProbeClearFlags.