cesium-native  0.41.0
FeatureId.h
1 // This file was generated by generate-classes.
2 // DO NOT EDIT THIS FILE!
3 #pragma once
4 
5 #include "CesiumGltf/FeatureIdTexture.h"
6 #include "CesiumGltf/Library.h"
7 
8 #include <CesiumUtility/ExtensibleObject.h>
9 
10 #include <cstdint>
11 #include <optional>
12 #include <string>
13 
14 namespace CesiumGltf {
18 struct CESIUMGLTF_API FeatureId final : public CesiumUtility::ExtensibleObject {
19  static inline constexpr const char* TypeName = "FeatureId";
20 
24  int64_t featureCount = int64_t();
25 
30  std::optional<int64_t> nullFeatureId;
31 
36  std::optional<std::string> label;
37 
44  std::optional<int64_t> attribute;
45 
49  std::optional<CesiumGltf::FeatureIdTexture> texture;
50 
55  int32_t propertyTable = -1;
56 };
57 } // namespace CesiumGltf
Classes for working with glTF models.
Feature IDs stored in an attribute or texture.
Definition: FeatureId.h:18
std::optional< std::string > label
A label assigned to this feature ID set. Labels must be alphanumeric identifiers matching the regular...
Definition: FeatureId.h:36
std::optional< int64_t > attribute
An integer value used to construct a string in the format _FEATURE_ID_<set index> which is a referenc...
Definition: FeatureId.h:44
std::optional< CesiumGltf::FeatureIdTexture > texture
A texture containing feature IDs.
Definition: FeatureId.h:49
std::optional< int64_t > nullFeatureId
A value that indicates that no feature is associated with this vertex or texel.
Definition: FeatureId.h:30
The base class for objects that have extensions and extras.