cesium-native  0.41.0
ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue.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 
7 #include <CesiumUtility/ExtensibleObject.h>
8 
9 #include <cstdint>
10 #include <optional>
11 #include <string>
12 #include <vector>
13 
14 namespace CesiumGltf {
19  final : public CesiumUtility::ExtensibleObject {
20  static inline constexpr const char* TypeName =
21  "ExtensionMeshPrimitiveKhrMaterialsVariantsMappingsValue";
22 
29  std::vector<int32_t> variants;
30 
36  int32_t material = -1;
37 
44  std::optional<std::string> name;
45 };
46 } // namespace CesiumGltf
Classes for working with glTF models.
std::optional< std::string > name
The user-defined name of this variant material mapping.
The base class for objects that have extensions and extras.