Creates a Box2 bounded by min and max.
Vector2 representing the lower (x, y) boundary of the box. Default is ( + Infinity, + Infinity ).
Vector2 representing the upper (x, y) boundary of the box. Default is ( - Infinity, - Infinity ).
Vector2 representing the lower upper (x, y) boundary of the box. Default is ( - Infinity, - Infinity ).
Vector2 representing the lower (x, y) boundary of the box. Default is ( + Infinity, + Infinity ).
Returns true if this box includes zero points within its bounds. Note that a box with equal lower and upper bounds still includes one point, the one both bounds share.
Sets the lower and upper (x, y) boundaries of this box. Please note that this method only copies the values from the given objects.
Vector2 representing the lower (x, y) boundary of the box.
Vector2 representing the upper (x, y) boundary of the box.
Generated using TypeDoc
Represents an axis-aligned bounding box (AABB) in 2D space.