5 #include "CesiumGltf/Library.h"
7 #include <CesiumUtility/ExtensibleObject.h>
8 #include <CesiumUtility/JsonValue.h>
20 static inline constexpr
const char* TypeName =
"PropertyTableProperty";
26 inline static const std::string UINT8 =
"UINT8";
28 inline static const std::string UINT16 =
"UINT16";
30 inline static const std::string UINT32 =
"UINT32";
32 inline static const std::string UINT64 =
"UINT64";
39 inline static const std::string UINT8 =
"UINT8";
41 inline static const std::string UINT16 =
"UINT16";
43 inline static const std::string UINT32 =
"UINT32";
45 inline static const std::string UINT64 =
"UINT64";
76 int32_t arrayOffsets = -1;
88 int32_t stringOffsets = -1;
96 std::string arrayOffsetType = ArrayOffsetType::UINT32;
104 std::string stringOffsetType = StringOffsetType::UINT32;
111 std::optional<CesiumUtility::JsonValue>
offset;
118 std::optional<CesiumUtility::JsonValue>
scale;
126 std::optional<CesiumUtility::JsonValue>
max;
134 std::optional<CesiumUtility::JsonValue>
min;
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.