Skip to main content

BoundingBox

An axis-aligned bounding box

TYPE
object

Properties

NAMETYPEDESCRIPTION
minVector2The top left of the bounding box
maxVector2The bottom right of the bounding box
widthnumberThe width of the bounding box
minnumberThe height of the bounding box
centerVector2The center of the bounding box