Loads quantized-mesh-1.0
terrain data.
More...
#include <CesiumQuantizedMeshTerrain/QuantizedMeshLoader.h>
Loads quantized-mesh-1.0
terrain data.
Definition at line 89 of file QuantizedMeshLoader.h.
◆ load()
Create a QuantizedMeshLoadResult
from the given data.
- Parameters
-
tileID | The tile ID. |
tileBoundingVolume | The tile bounding volume. |
url | The URL from which the data was loaded. |
data | The actual tile data. |
enableWaterMask | If true, will attempt to load a water mask from the quantized mesh data. |
ellipsoid | The ellipsoid to use for this quantized mesh. |
- Returns
- The
QuantizedMeshLoadResult
◆ loadAvailabilityRectangles()
static QuantizedMeshMetadataResult CesiumQuantizedMeshTerrain::QuantizedMeshLoader::loadAvailabilityRectangles |
( |
const rapidjson::Document & | layerJson, |
|
|
uint32_t | startingLevel ) |
|
static |
Extracts tile availability information from a parsed layer.json or tile metadata extension.
The actual availability information will be found in a property called available
.
- Parameters
-
layerJson | The RapidJSON document containing the layer.json. |
startingLevel | The first tile level number to which the availability information applies. |
- Returns
- The availability.
◆ loadMetadata()
Parses the metadata (tile availability) from the given quantized-mesh terrain tile data.
- Parameters
-
data | The actual tile data. |
tileID | The tile ID. |
- Returns
- The parsed metadata.
The documentation for this class was generated from the following file:
- /home/runner/work/cesium-native/cesium-native/CesiumQuantizedMeshTerrain/include/CesiumQuantizedMeshTerrain/QuantizedMeshLoader.h