Version: 5.3 (switch to 5.4b)
言語English
  • C#
  • JS

スクリプト言語

好きな言語を選択してください。選択した言語でスクリプトコードが表示されます。

ReflectionProbe.center

マニュアルに切り替える
public Vector3 center;

説明

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

	ReflectionProbe probe = GetComponent<ReflectionProbe>();
	// Reset the center to the transform's position
	probe.center = Vector3.zero;