Documentation

Unity Engine


Unity Engine


GetSize()

Gets the current size of the bounding volume for this instance.
Read time 1 minuteLast updated a month 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.