cesium-native  0.41.0
PropertyTableProperty.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 #include <CesiumUtility/JsonValue.h>
9 
10 #include <cstdint>
11 #include <optional>
12 #include <string>
13 
14 namespace CesiumGltf {
18 struct CESIUMGLTF_API PropertyTableProperty final
20  static inline constexpr const char* TypeName = "PropertyTableProperty";
21 
25  struct ArrayOffsetType {
26  inline static const std::string UINT8 = "UINT8";
27 
28  inline static const std::string UINT16 = "UINT16";
29 
30  inline static const std::string UINT32 = "UINT32";
31 
32  inline static const std::string UINT64 = "UINT64";
33  };
34 
39  inline static const std::string UINT8 = "UINT8";
40 
41  inline static const std::string UINT16 = "UINT16";
42 
43  inline static const std::string UINT32 = "UINT32";
44 
45  inline static const std::string UINT64 = "UINT64";
46  };
47 
62  int32_t values = -1;
63 
76  int32_t arrayOffsets = -1;
77 
88  int32_t stringOffsets = -1;
89 
96  std::string arrayOffsetType = ArrayOffsetType::UINT32;
97 
104  std::string stringOffsetType = StringOffsetType::UINT32;
105 
111  std::optional<CesiumUtility::JsonValue> offset;
112 
118  std::optional<CesiumUtility::JsonValue> scale;
119 
126  std::optional<CesiumUtility::JsonValue> max;
127 
134  std::optional<CesiumUtility::JsonValue> min;
135 };
136 } // namespace CesiumGltf
Classes for working with glTF models.
Known values for The type of values in arrayOffsets.
Known values for The type of values in stringOffsets.
An array of binary property values.
std::optional< CesiumUtility::JsonValue > max
Maximum value present in the property values. Only applicable to SCALAR, VECN, and MATN types....
std::optional< CesiumUtility::JsonValue > scale
A scale to apply to property values. Only applicable when the component type is FLOAT32 or FLOAT64,...
std::optional< CesiumUtility::JsonValue > offset
An offset to apply to property values. Only applicable when the component type is FLOAT32 or FLOAT64,...
std::optional< CesiumUtility::JsonValue > min
Minimum value present in the property values. Only applicable to SCALAR, VECN, and MATN types....
The base class for objects that have extensions and extras.