DrawableTerrain

Properties

Link copied to clipboard

World-space bounding sphere radius around vertexOrigin that conservatively contains every vertex of this terrain tile (including peak elevation). Used by per-cascade cullers (see earth.worldwind.layer.shadow.ShadowState.CascadeState.intersectsSphere) to skip tiles that fall entirely outside a cascade's footprint. 0 opts out of culling.

Link copied to clipboard
abstract val offset: Globe.Offset
Link copied to clipboard

World→UV matrix for draping this tile's surface-shape texture onto 3D-Tile meshes; null when unavailable this frame (no draped meshes, 2D projection, offset copies).

Link copied to clipboard
abstract val sector: Sector
Link copied to clipboard
abstract val vertexOrigin: Vec3

Functions

Link copied to clipboard
abstract fun draw(dc: DrawContext)
Link copied to clipboard
abstract fun drawLines(dc: DrawContext): Boolean
Link copied to clipboard
abstract fun drawTriangles(dc: DrawContext): Boolean
Link copied to clipboard
abstract fun recycle()
Link copied to clipboard
abstract fun useVertexHeightsAttrib(dc: DrawContext, attribLocation: Int): Boolean
Link copied to clipboard
abstract fun useVertexNormalAttrib(dc: DrawContext, attribLocation: Int): Boolean
Link copied to clipboard
abstract fun useVertexPointAttrib(dc: DrawContext, attribLocation: Int): Boolean
Link copied to clipboard
abstract fun useVertexTexCoordAttrib(dc: DrawContext, attribLocation: Int): Boolean