5#include <CesiumGltf/ExtensionModelMaxarMeshVariantsValue.h>
6#include <CesiumGltf/Library.h>
7#include <CesiumUtility/ExtensibleObject.h>
21 static constexpr const char*
TypeName =
"ExtensionModelMaxarMeshVariants";
36 std::vector<CesiumGltf::ExtensionModelMaxarMeshVariantsValue>
variants;
51 this->variants.capacity());
55 value.getSizeBytes() -
Classes for working with glTF models.
An object defining a valid mesh variant.
glTF extension that defines mesh variants for nodes
static constexpr const char * ExtensionName
The official name of the extension. This should be the same as its key in the extensions object.
static constexpr const char * TypeName
The original name of this type.
std::vector< CesiumGltf::ExtensionModelMaxarMeshVariantsValue > variants
variants
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
int32_t defaultProperty
The index of the variant to load by default. The meshes that are mapped to the default variant must r...
The base class for objects that have extensions and extras.
int64_t getSizeBytes() const
Calculates the size in bytes of this ExtensibleObject, including all of its extras but NOT including ...