Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetSize()

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

Definition

protected Vector3 GetSize()

Returns

Type

Description

Vector3The current size of the bounding volume for this instance.

Remarks

All axes of the returned Vector3 will always have positive values. Any disabled axes will have a value of
0
.
Additional Resources: PrimitiveBoundsHandle.axes.