Version: 2021.3
言語: 日本語
public Vector3 size ;

説明

反射がオブジェクトに適用されるエリアをボックス形状で表したサイズです。プローブのローカル空間基準で計測されます。

ボックスのサイズは Transform の大きさで決定されます。

using UnityEngine;

public class Example : MonoBehaviour { void Start() { ReflectionProbe probe = GetComponent<ReflectionProbe>(); // Make the area long probe.size = new Vector3(10, 1, 1); } }