GroundOverlaySurface

Ground surface that can receive draped surface-shape textures (e.g. a 3D-Tile mesh). After a surface-shape drawable composites its per-terrain-tile texture onto the terrain, it re-draws registered overlay surfaces through SurfaceOverlayProgram, which projects the same texture with per-fragment sector-local UVs — the raster-overlay draping pattern.

Inheritors

Properties

Link copied to clipboard
abstract val overlayCenter: Vec3?

World bounding sphere center of this surface; null opts out of overlay drawing.

Link copied to clipboard
abstract val overlayRadius: Double

World bounding sphere radius around overlayCenter.

Functions

Link copied to clipboard
abstract fun drawOverlay(dc: DrawContext, program: SurfaceOverlayProgram, uvMatrix: Matrix4)

Re-rasterize this surface's geometry with program active and the shape texture bound.