Version: 2023.2
言語: 日本語
protected void SetSize (Vector3 size);

パラメーター

size A Vector3 specifying how large the bounding volume is along all of its axes.

説明

Sets the current size of the bounding volume for this instance.

A negative value along any axis of the specified Vector3 will automatically be converted into a positive value. Disabled axes will automatically be converted to 0.

Additional resources: axes.