cesium-native  0.41.0
ExtensionModelExtStructuralMetadata.h
1 // This file was generated by generate-classes.
2 // DO NOT EDIT THIS FILE!
3 #pragma once
4 
5 #include "CesiumGltf/Library.h"
6 #include "CesiumGltf/PropertyAttribute.h"
7 #include "CesiumGltf/PropertyTable.h"
8 #include "CesiumGltf/PropertyTexture.h"
9 #include "CesiumGltf/Schema.h"
10 
11 #include <CesiumUtility/ExtensibleObject.h>
12 
13 #include <optional>
14 #include <string>
15 #include <vector>
16 
17 namespace CesiumGltf {
22 struct CESIUMGLTF_API ExtensionModelExtStructuralMetadata final
24  static inline constexpr const char* TypeName =
25  "ExtensionModelExtStructuralMetadata";
26  static inline constexpr const char* ExtensionName = "EXT_structural_metadata";
27 
31  std::optional<CesiumGltf::Schema> schema;
32 
36  std::optional<std::string> schemaUri;
37 
42  std::vector<CesiumGltf::PropertyTable> propertyTables;
43 
48  std::vector<CesiumGltf::PropertyTexture> propertyTextures;
49 
54  std::vector<CesiumGltf::PropertyAttribute> propertyAttributes;
55 };
56 } // namespace CesiumGltf
Classes for working with glTF models.
glTF extension that provides structural metadata about vertices, texels, and features in a glTF asset...
std::vector< CesiumGltf::PropertyAttribute > propertyAttributes
An array of property attribute definitions, which may be referenced by index.
std::optional< std::string > schemaUri
The URI (or IRI) of the external schema file.
std::vector< CesiumGltf::PropertyTable > propertyTables
An array of property table definitions, which may be referenced by index.
std::vector< CesiumGltf::PropertyTexture > propertyTextures
An array of property texture definitions, which may be referenced by index.
std::optional< CesiumGltf::Schema > schema
An object defining classes and enums.
The base class for objects that have extensions and extras.