跳到主要内容

flywave-terrain-datasource.quantizedterrainsource

Home > @flywave/flywave-terrain-datasource > QuantizedTerrainSource

QuantizedTerrainSource class

Implementation of a terrain source for quantized mesh terrain data

This class handles the creation and configuration of quantized terrain sources, including water masks, vertex normals, and metadata as requested.

Quantized mesh terrain provides efficient storage and transmission of terrain data by using a variable level of detail (LOD) approach that adapts to the viewer's distance from the terrain surface.

Signature:

export declare class QuantizedTerrainSource extends BaseQuantizedTerrainSource<QuantizedTerrainMesh> 

Extends: BaseQuantizedTerrainSource<QuantizedTerrainMesh>

Constructors

Constructor

Modifiers

Description

(constructor)(options)

Constructs a new QuantizedTerrainSource

Methods

Method

Modifiers

Description

canGetSubdivideChildren(tileKey)

createProvider(options)

protected

Creates a new QuantizedTerrainProvider instance with the specified options

shouldSubdivide(zoomLevel, tileKey)