cesium-native  0.41.0
Class.h
1 // This file was generated by generate-classes.
2 // DO NOT EDIT THIS FILE!
3 #pragma once
4 
5 #include "Cesium3DTiles/ClassProperty.h"
6 #include "Cesium3DTiles/Library.h"
7 
8 #include <CesiumUtility/ExtensibleObject.h>
9 
10 #include <optional>
11 #include <string>
12 #include <unordered_map>
13 
14 namespace Cesium3DTiles {
18 struct CESIUM3DTILES_API Class final : public CesiumUtility::ExtensibleObject {
19  static inline constexpr const char* TypeName = "Class";
20 
24  std::optional<std::string> name;
25 
29  std::optional<std::string> description;
30 
36  std::unordered_map<std::string, Cesium3DTiles::ClassProperty> properties;
37 };
38 } // namespace Cesium3DTiles
Classes for using 3D Tiles.
Definition: Buffer.h:7
A class containing a set of properties.
Definition: Class.h:18
std::optional< std::string > name
The name of the class, e.g. for display purposes.
Definition: Class.h:24
std::optional< std::string > description
The description of the class.
Definition: Class.h:29
std::unordered_map< std::string, Cesium3DTiles::ClassProperty > properties
A dictionary, where each key is a property ID and each value is an object defining the property....
Definition: Class.h:36
The base class for objects that have extensions and extras.