cesium-native 0.46.0
|
A factory to create a tileset loader. More...
#include <Cesium3DTilesSelection/TilesetContentLoaderFactory.h>
Public Types | |
using | AuthorizationHeaderChangeListener |
The type of a callback called when the Authorization header used by a tileset loader has changed. | |
Public Member Functions | |
virtual CesiumAsync::Future< Cesium3DTilesSelection::TilesetContentLoaderResult< Cesium3DTilesSelection::TilesetContentLoader > > | createLoader (const TilesetExternals &externals, const TilesetOptions &tilesetOptions, const AuthorizationHeaderChangeListener &headerChangeListener)=0 |
Creates an instance of the loader corresponding to this factory. | |
virtual bool | isValid () const =0 |
Returns true if a valid TilesetContentLoader can be constructed from this factory. | |
A factory to create a tileset loader.
This class can be derived to improve the ease of constructing a Tileset from a custom TilesetContentLoader.
Definition at line 16 of file TilesetContentLoaderFactory.h.
The type of a callback called when the Authorization header used by a tileset loader has changed.
Definition at line 24 of file TilesetContentLoaderFactory.h.
|
pure virtual |
Creates an instance of the loader corresponding to this factory.
externals | The TilesetExternals. |
tilesetOptions | The TilesetOptions. |
headerChangeListener | A callback that will be called when the Authorization header used by the tileset loader has changed. |
Implemented in Cesium3DTilesSelection::CesiumIonTilesetContentLoaderFactory, Cesium3DTilesSelection::IModelMeshExportContentLoaderFactory, Cesium3DTilesSelection::ITwinCesiumCuratedContentLoaderFactory, and Cesium3DTilesSelection::ITwinRealityDataContentLoaderFactory.
|
pure virtual |
Returns true if a valid TilesetContentLoader can be constructed from this factory.
Implemented in Cesium3DTilesSelection::CesiumIonTilesetContentLoaderFactory, Cesium3DTilesSelection::IModelMeshExportContentLoaderFactory, Cesium3DTilesSelection::ITwinCesiumCuratedContentLoaderFactory, and Cesium3DTilesSelection::ITwinRealityDataContentLoaderFactory.