cesium-native 0.43.0
|
Convenience functions for querying MetadataEntity
instances.
More...
#include <Cesium3DTiles/MetadataQuery.h>
Static Public Member Functions | |
static std::optional< FoundMetadataProperty > | findFirstPropertyWithSemantic (const Schema &schema, const MetadataEntity &entity, const std::string &semantic) |
Gets the first property with a given ClassProperty::semantic . | |
Convenience functions for querying MetadataEntity
instances.
Definition at line 55 of file MetadataQuery.h.
|
static |
Gets the first property with a given ClassProperty::semantic
.
schema | The schema to use to look up semantics. |
entity | The metadata entity to search for a property with the semantic. |
semantic | The semantic to find. |
std::nullopt
if a property with the given semantic does not exist.