TileBoundingBoxes Enumeration

Options for displaying tile bounding boxes for debugging purposes.

Bounding boxes are color-coded based on refinement strategy:

  • Blue: A leaf tile (has no child tiles).
  • Green: An ordinary tile (sub-divides into 4 or 8 child tiles).
  • Red: A tile which refines to a single higher-resolution child occupying the same volume.

see Viewport.debugBoundingBoxes

Members

Name Value Description
None 0 Display no bounding boxes
Volume 1 Display boxes representing the tile's full volume.
Content 2 Display boxes representing the range of the tile's contents, which may be tighter than (but never larger than) the tile's full volume.
Both 3 Display both volume and content boxes.
ChildVolumes 4 Display boxes for direct children, where blue boxes indicate empty volumes.
Sphere 5 Display bounding sphere.

Defined in

Last Updated: 12 June, 2024