The screen bounding box.
Marks the region of the screen intersecting with the given bounding box as allocated.
The bounding box in NDC scaled coordinates (i.e. top left is -width/2, -height/2)
Inserts the given bounds into the rtree.
The bounding boxes (the bounding boxes must be in the space returned from the ScreenProjector.project method).
Test whether a given CollisionBox intersects with any of the details in the specified IBoxes.
The box to test for intersection.
The candidate boxes the test box may intersect with. It's assumed that the global bounds of these boxes intersect with the given test box.
true
if any intersection found.
Checks if the given bounding box is already allocated.
The bounding box in world coordinates.
Checks if the given screen bounds is contained within the frustum of the active camera.
The bounding box in world coordinates.
Checks if the given screen bounds intersects with the frustum of the active camera.
The bounding box in world coordinates.
Resets the list of allocated screen bounds.
Search for all bounds in the tree intersecting with the given box.
The box used for the search.
An array of all IBoxes intersecting with the given box.
Updates the screen bounds that are used to check if bounding boxes are visible.
The width of the container.
The height of the container.
Generated using TypeDoc
Constructs a new ScreenCollisions object.