Creates a new TerrainVisualizer.
The Cesium viewer instance
Private_Private_Private_Private_Private_Private_The colors used in the visualizer
The hybrid terrain instance used in the visualizer
Whether tile coordinates are currently visible.
The viewer used in the visualizer
Whether the grid is currently visible.
Private_Clears all visualizations.
Flies the camera to focus on a rectangle.
The rectangle to focus on.
Optionaloptions: { duration?: number }Viewer.flyTo
Hides the terrain visualization.
Hides the imagery overlay.
Hides tile coordinate grid overlay.
Sets the transparency of the imagery overlay.
Transparency level (0-1), where 0 is fully transparent and 1 is fully opaque
Sets the colors used for visualization.
Map of role names to colors
Sets the terrain provider to visualize.
The terrain provider to visualize.
Shows terrain visualization using HybridImageryProvider. Optionally adds tile coordinate grid overlay.
Optionaloptions: { alpha?: number; showTileCoordinates?: boolean }Visualization options
Optionalalpha?: numberTransparency level (0-1). Default: 0.5
OptionalshowTileCoordinates?: booleanShow tile coordinate labels. Default: true
Shows terrain regions using HybridImageryProvider (performant, global coverage). This replaces the entity-based approach with an imagery layer.
Transparency level (0-1), default 0.5
Shows tile coordinate grid overlay.
Updates all active visualizations.
Utility class for visualizing terrain provider boundaries and debugging terrain loading.