5 #include "CesiumGltf/Library.h"
7 #include <CesiumUtility/ExtensibleObject.h>
8 #include <CesiumUtility/JsonValue.h>
19 static inline constexpr
const char* TypeName =
"PropertyAttributeProperty";
31 std::optional<CesiumUtility::JsonValue>
offset;
38 std::optional<CesiumUtility::JsonValue>
scale;
46 std::optional<CesiumUtility::JsonValue>
max;
54 std::optional<CesiumUtility::JsonValue>
min;
Classes for working with glTF models.
An attribute containing property values.
std::string attribute
The name of the attribute containing 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 > min
Minimum value present in the property values. Only applicable to SCALAR, VECN, and MATN types....
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 > scale
A scale to apply to property values. Only applicable when the component type is FLOAT32 or FLOAT64,...
The base class for objects that have extensions and extras.