Suggest a change


Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.


Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.



protected void SetSize(Vector3 size);


sizeA 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.

See Also: axes.

Did you find this page useful? Please give it a rating: