文档

Unity Engine

Unity Engine

GetSize()

Gets the current size of the bounding volume for this instance.
阅读时间1 分钟最后更新于 1 个月前

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.