cesium-native  0.41.0
PropertyTexture.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/PropertyTextureProperty.h"
7 
8 #include <CesiumUtility/ExtensibleObject.h>
9 
10 #include <optional>
11 #include <string>
12 #include <unordered_map>
13 
14 namespace CesiumGltf {
19 struct CESIUMGLTF_API PropertyTexture final
21  static inline constexpr const char* TypeName = "PropertyTexture";
22 
26  std::optional<std::string> name;
27 
32  std::string classProperty;
33 
40  std::unordered_map<std::string, CesiumGltf::PropertyTextureProperty>
42 };
43 } // namespace CesiumGltf
Classes for working with glTF models.
Properties conforming to a class, organized as property values stored in textures.
std::optional< std::string > name
The name of the property texture, e.g. for display purposes.
std::string classProperty
The class that property values conform to. The value must be a class ID declared in the classes dicti...
std::unordered_map< std::string, CesiumGltf::PropertyTextureProperty > properties
A dictionary, where each key corresponds to a property ID in the class' properties dictionary and eac...
The base class for objects that have extensions and extras.