Bounds 边界框

Struct

Represents an axis aligned bounding box.

表示一个轴对齐边界框。

An axis-aligned bounding box, or AABB for short, is a box aligned with coordinate axes and fully enclosing some object. Because the box is never rotated with respect to the axes, it can be defined by just its center and extents, or alternatively by min and max points.

一个轴对齐边界框,或AABB的简称,是一个坐标轴对齐的盒子并完全包围某些物体。由于这个盒子不会相对于轴旋转,它只可以通过centerextents定义,或者由minmax点定义。

边界框用于Collider.bounds, Mesh.bounds, Renderer.bounds.

Variables变量

Constructors构造器

Functions函数

Page last updated: 2010-12-30