MapDebugOptions

enum MapDebugOptions

Options for enabling debugging features in a map.

Entries

TERRAIN_WIREFRAME
Link copied to clipboard

Show a wireframe for terrain.

MODEL_BOUNDS
Link copied to clipboard

Show 3D model bounding boxes.

RENDER_CACHE
Link copied to clipboard

Visualize residency of tiles in the render cache. Tile boundaries of cached tiles are rendered with green, tiles waiting for an update with yellow and tiles not in the cache with red.

DEPTH_BUFFER
Link copied to clipboard

The depth buffer is shown instead of the color buffer.

STENCIL_CLIP
Link copied to clipboard

The stencil buffer is shown instead of the color buffer.

OVERDRAW
Link copied to clipboard

Each drawing operation is replaced by a translucent fill. Overlapping drawing operations appear more prominent to help diagnose overdrawing.

COLLISION
Link copied to clipboard

Edges of glyphs and symbols are shown as faint, green lines to help diagnose collision and label placement issues.

TIMESTAMPS
Link copied to clipboard

Each tile shows a timestamp indicating when it was loaded.

PARSE_STATUS
Link copied to clipboard

Each tile shows its tile coordinate (x/y/z) in the upper-left corner.

TILE_BORDERS
Link copied to clipboard

Edges of tile boundaries are shown as thick, red lines to help diagnose tile clipping issues.

Functions

valueOf
Link copied to clipboard
open fun valueOf(name: String): MapDebugOptions
values
Link copied to clipboard
open fun values(): Array<MapDebugOptions>