cesium-native 0.44.2
Loading...
Searching...
No Matches
CesiumQuantizedMeshTerrain::QuantizedMeshLoadResult Struct Reference

The results of a QuantizedMeshLoader::load operation, containing either the loaded model, an improved bounding region for the tile, and available quadtree tiles discovered, if the load succeeded - or the request made and the errors that were returned, if the load failed. More...

#include <CesiumQuantizedMeshTerrain/QuantizedMeshLoader.h>

Public Attributes

std::optional< CesiumGltf::Modelmodel
 The glTF model to be rendered for this tile.
 
std::optional< CesiumGeospatial::BoundingRegionupdatedBoundingVolume {}
 An improved bounding region for this tile.
 
std::vector< CesiumGeometry::QuadtreeTileRectangularRangeavailableTileRectangles {}
 Available quadtree tiles discovered as a result of loading this tile.
 
std::shared_ptr< CesiumAsync::IAssetRequestpRequest
 The request that was used to download the tile content, if any.
 
CesiumUtility::ErrorList errors
 The errors and warnings reported while loading this tile.
 

Detailed Description

The results of a QuantizedMeshLoader::load operation, containing either the loaded model, an improved bounding region for the tile, and available quadtree tiles discovered, if the load succeeded - or the request made and the errors that were returned, if the load failed.

Definition at line 31 of file QuantizedMeshLoader.h.

Member Data Documentation

◆ availableTileRectangles

std::vector<CesiumGeometry::QuadtreeTileRectangularRange> CesiumQuantizedMeshTerrain::QuantizedMeshLoadResult::availableTileRectangles {}

Available quadtree tiles discovered as a result of loading this tile.

Definition at line 54 of file QuantizedMeshLoader.h.

◆ errors

CesiumUtility::ErrorList CesiumQuantizedMeshTerrain::QuantizedMeshLoadResult::errors

The errors and warnings reported while loading this tile.

Definition at line 66 of file QuantizedMeshLoader.h.

◆ model

std::optional<CesiumGltf::Model> CesiumQuantizedMeshTerrain::QuantizedMeshLoadResult::model

The glTF model to be rendered for this tile.

If this is std::nullopt, the tile cannot be rendered. If it has a value but the model is blank, the tile can be "rendered", but it is rendered as nothing.

Definition at line 39 of file QuantizedMeshLoader.h.

◆ pRequest

std::shared_ptr<CesiumAsync::IAssetRequest> CesiumQuantizedMeshTerrain::QuantizedMeshLoadResult::pRequest

The request that was used to download the tile content, if any.

This field is only populated when there are request-related errors.

Definition at line 61 of file QuantizedMeshLoader.h.

◆ updatedBoundingVolume

std::optional<CesiumGeospatial::BoundingRegion> CesiumQuantizedMeshTerrain::QuantizedMeshLoadResult::updatedBoundingVolume {}

An improved bounding region for this tile.

If this is available, then it is more accurate than the one the tile used originally.

Definition at line 47 of file QuantizedMeshLoader.h.


The documentation for this struct was generated from the following file: