Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


size

Returns or specifies the size of the bounding box.
Read time 1 minuteLast updated 12 days ago

Definition

public Vector3 size { get; set; }

Remarks

Negative values along any axis of the specified Vector3 are automatically converted into a positive value. Disabled axes are automatically converted to
0
.
Additional Resources: PrimitiveBoundsHandle.axes.