API

Class BoundingBox

Class used to store bounding box information

Implements

Index
center: Vector3 = ...

Gets the center of the bounding box in local space

centerWorld: Vector3 = ...

Gets the center of the bounding box in world space

directions: Vector3[] = ...

Gets the OBB (object bounding box) directions

extendSize: Vector3 = ...

Gets half the size of the extent in local space. Multiply by 2 to obtain the full size of the box!

extendSizeWorld: Vector3 = ...

Gets half the size of the extent in world space. Multiply by 2 to obtain the full size of the box!

maximum: Vector3 = ...

Gets the maximum vector in local space

maximumWorld: Vector3 = ...

Gets the maximum vector in world space

minimum: Vector3 = ...

Gets the minimum vector in local space

minimumWorld: Vector3 = ...

Gets the minimum vector in world space

vectors: Vector3[] = ...

Gets the 8 vectors representing the bounding box in local space

vectorsWorld: Vector3[] = ...

Gets the 8 vectors representing the bounding box in world space