cesium-native  0.41.0
Cesium3DTilesSelection::TileLoadInput Struct Reference

Store the parameters that are needed to load a tile. More...

#include <Cesium3DTilesSelection/TilesetContentLoader.h>

Public Member Functions

 TileLoadInput (const Tile &tile, const TilesetContentOptions &contentOptions, const CesiumAsync::AsyncSystem &asyncSystem, const std::shared_ptr< CesiumAsync::IAssetAccessor > &pAssetAccessor, const std::shared_ptr< spdlog::logger > &pLogger, const std::vector< CesiumAsync::IAssetAccessor::THeader > &requestHeaders, const CesiumGeospatial::Ellipsoid &ellipsoid CESIUM_DEFAULT_ELLIPSOID)
 Creates a new instance. More...
 

Public Attributes

const Tiletile
 The tile that the TilesetContentLoader will request the server for the content.
 
const TilesetContentOptionscontentOptions
 The content options the TilesetContentLoader will use to process the content of the tile.
 
const CesiumAsync::AsyncSystemasyncSystem
 The async system to run the loading in worker thread or main thread.
 
const std::shared_ptr< CesiumAsync::IAssetAccessor > & pAssetAccessor
 The asset accessor to make requests for the tile content over the wire.
 
const std::shared_ptr< spdlog::logger > & pLogger
 The logger that receives details of loading errors and warnings.
 
const std::vector< CesiumAsync::IAssetAccessor::THeader > & requestHeaders
 The request headers that will be attached to the request.
 
const CesiumGeospatial::Ellipsoidellipsoid
 The ellipsoid that this tileset uses.
 

Detailed Description

Store the parameters that are needed to load a tile.

Definition at line 30 of file TilesetContentLoader.h.

Constructor & Destructor Documentation

◆ TileLoadInput()

Cesium3DTilesSelection::TileLoadInput::TileLoadInput ( const Tile tile,
const TilesetContentOptions contentOptions,
const CesiumAsync::AsyncSystem asyncSystem,
const std::shared_ptr< CesiumAsync::IAssetAccessor > &  pAssetAccessor,
const std::shared_ptr< spdlog::logger > &  pLogger,
const std::vector< CesiumAsync::IAssetAccessor::THeader > &  requestHeaders,
const CesiumGeospatial::Ellipsoid &ellipsoid  CESIUM_DEFAULT_ELLIPSOID 
)

Creates a new instance.

Parameters
tileThe Tile that the content belongs to.
contentOptionsThe content options the TilesetContentLoader will use to process the content of the tile.
asyncSystemThe async system to use for tile content loading.
pAssetAccessorThe asset accessor to make further requests with.
pLoggerThe logger that will be used
requestHeadersThe request headers that will be attached to the request.

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