Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetSize(Vector3)

Sets the current size of the bounding volume for this instance.
Read time 1 minuteLast updated 12 days ago

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.