cesium-native  0.41.0
PropertyAttributeProperty.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 <optional>
11 #include <string>
12 
13 namespace CesiumGltf {
17 struct CESIUMGLTF_API PropertyAttributeProperty final
19  static inline constexpr const char* TypeName = "PropertyAttributeProperty";
20 
24  std::string attribute;
25 
31  std::optional<CesiumUtility::JsonValue> offset;
32 
38  std::optional<CesiumUtility::JsonValue> scale;
39 
46  std::optional<CesiumUtility::JsonValue> max;
47 
54  std::optional<CesiumUtility::JsonValue> min;
55 };
56 } // namespace CesiumGltf
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.