3#include <Cesium3DTilesSelection/Library.h>
4#include <Cesium3DTilesSelection/TilesetMetadata.h>
5#include <CesiumGeospatial/Projection.h>
6#include <CesiumGltf/Model.h>
7#include <CesiumRasterOverlays/RasterOverlayDetails.h>
8#include <CesiumUtility/CreditSystem.h>
105 getRasterOverlayDetails() const noexcept;
113 getRasterOverlayDetails() noexcept;
120 void setRasterOverlayDetails(
128 void setRasterOverlayDetails(
166 void* getRenderResources() const noexcept;
174 void setRenderResources(
void* pRenderResources) noexcept;
186 float getLodTransitionFadePercentage() const noexcept;
194 void setLodTransitionFadePercentage(
float percentage) noexcept;
198 void* _pRenderResources;
201 float _lodTransitionFadePercentage;
209 using TileContentKindImpl = std::variant<
212 std::unique_ptr<TileExternalContent>,
213 std::unique_ptr<TileRenderContent>>;
265 bool isEmptyContent() const noexcept;
271 bool isExternalContent() const noexcept;
276 bool isRenderContent() const noexcept;
303 TileContentKindImpl _contentKind;
A tile content container that can store and query the content type that is currently being owned by t...
TileContent(std::unique_ptr< TileExternalContent > &&content)
Construct an external content for a tile whose content points to an external tileset.
TileContent(TileEmptyContent content)
Construct an empty content for a tile.
TileContent()
Construct an unknown content for a tile. This constructor is useful when the tile content is known af...
void setContentKind(TileEmptyContent content)
Construct an empty content tag for a tile.
void setContentKind(std::unique_ptr< TileRenderContent > &&content)
Set a glTF model content for a tile.
void setContentKind(std::unique_ptr< TileExternalContent > &&content)
Set an external content for a tile whose content points to an external tileset.
bool isUnknownContent() const noexcept
Query if a tile has an unknown content.
void setContentKind(TileUnknownContent content)
Set an unknown content tag for a tile. This constructor is useful when the tile content is known afte...
A content tag that indicates a tile has a glTF model content and render resources for the model.
TileRenderContent(CesiumGltf::Model &&model)
Construct the content with a glTF model.
const CesiumGltf::Model & getModel() const noexcept
Retrieve a glTF model that is owned by this content.
Classes that implement the 3D Tiles standard.
Classes for working with glTF models.
Classes for raster overlays, which allow draping massive 2D textures over a model.
Utility classes for Cesium.
A content tag that indicates a tile has no content.
A content tag that indicates a tile content points to an external tileset. When this tile is loaded,...
TilesetMetadata metadata
The metadata associated with this tileset.
A content tag that indicates the TilesetContentLoader does not know if a tile's content will point to...
This class is not meant to be instantiated directly. Use Model instead.