cesium-native  0.41.0
Cesium3DTiles::Tileset Struct Referencefinal

A 3D Tiles tileset. More...

#include <Cesium3DTiles/Tileset.h>

Inheritance diagram for Cesium3DTiles::Tileset:
CesiumUtility::ExtensibleObject

Public Attributes

Cesium3DTiles::Asset asset
 Metadata about the entire tileset.
 
std::unordered_map< std::string, Cesium3DTiles::Propertiesproperties
 A dictionary object of metadata about per-feature properties.
 
std::optional< Cesium3DTiles::Schemaschema
 An object defining the structure of metadata classes and enums. When this is defined, then schemaUri shall be undefined.
 
std::optional< std::string > schemaUri
 The URI (or IRI) of the external schema file. When this is defined, then schema shall be undefined.
 
std::optional< Cesium3DTiles::Statisticsstatistics
 An object containing statistics about metadata entities.
 
std::vector< Cesium3DTiles::GroupMetadatagroups
 An array of groups that tile content may belong to. Each element of this array is a metadata entity that describes the group. The tile content group property is an index into this array.
 
std::optional< Cesium3DTiles::MetadataEntitymetadata
 A metadata entity that is associated with this tileset.
 
double geometricError = double()
 The error, in meters, introduced if this tileset is not rendered. At runtime, the geometric error is used to compute screen space error (SSE), i.e., the error measured in pixels.
 
Cesium3DTiles::Tile root
 The root tile.
 
std::vector< std::string > extensionsUsed
 Names of 3D Tiles extensions used somewhere in this tileset.
 
std::vector< std::string > extensionsRequired
 Names of 3D Tiles extensions required to properly load this tileset. Each element of this array shall also be contained in extensionsUsed.
 
- Public Attributes inherited from CesiumUtility::ExtensibleObject
std::unordered_map< std::string, std::any > extensions
 The extensions attached to this object. More...
 
JsonValue::Object extras
 Application-specific data. More...
 
JsonValue::Object unknownProperties
 Unknown properties that exist on this object but do not have any representation in the statically-typed classes. More...
 

Static Public Attributes

static constexpr const char * TypeName = "Tileset"
 

Additional Inherited Members

- Public Member Functions inherited from CesiumUtility::ExtensibleObject
template<typename T >
bool hasExtension () const noexcept
 Checks if an extension exists given its static type. More...
 
template<typename T >
const T * getExtension () const noexcept
 Gets an extension given its static type. More...
 
template<typename T >
T * getExtension () noexcept
 Gets an extension given its static type. More...
 
const JsonValuegetGenericExtension (const std::string &extensionName) const noexcept
 Gets a generic extension with the given name as a CesiumUtility::JsonValue. More...
 
JsonValuegetGenericExtension (const std::string &extensionName) noexcept
 Gets a generic extension with the given name as a CesiumUtility::JsonValue. More...
 
template<typename T , typename... ConstructorArgumentTypes>
T & addExtension (ConstructorArgumentTypes &&... constructorArguments)
 Adds a statically-typed extension to this object. More...
 
template<typename T >
void removeExtension ()
 Removes a statically-typed extension from this object. More...
 

Detailed Description

A 3D Tiles tileset.

Definition at line 25 of file Tileset.h.


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