ドキュメント

Unity Engine

Unity Engine

SetSize(Vector3)

Sets the current size of the bounding volume for this instance.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

protected void SetSize(Vector3 size)

Parameters

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

Remarks

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: PrimitiveBoundsHandle.axes.