cesium-native  0.41.0
Content.h
1 // This file was generated by generate-classes.
2 // DO NOT EDIT THIS FILE!
3 #pragma once
4 
5 #include "Cesium3DTiles/BoundingVolume.h"
6 #include "Cesium3DTiles/Library.h"
7 #include "Cesium3DTiles/MetadataEntity.h"
8 
9 #include <CesiumUtility/ExtensibleObject.h>
10 
11 #include <cstdint>
12 #include <optional>
13 #include <string>
14 
15 namespace Cesium3DTiles {
19 struct CESIUM3DTILES_API Content final
21  static inline constexpr const char* TypeName = "Content";
22 
29  std::optional<Cesium3DTiles::BoundingVolume> boundingVolume;
30 
35  std::string uri;
36 
40  std::optional<Cesium3DTiles::MetadataEntity> metadata;
41 
46  std::optional<int64_t> group;
47 };
48 } // namespace Cesium3DTiles
Classes for using 3D Tiles.
Definition: Buffer.h:7
Metadata about the tile's content and a link to the content.
Definition: Content.h:20
std::optional< int64_t > group
The group this content belongs to. The value is an index into the array of groups that is defined for...
Definition: Content.h:46
std::string uri
A uri that points to tile content. When the uri is relative, it is relative to the referring tileset ...
Definition: Content.h:35
std::optional< Cesium3DTiles::BoundingVolume > boundingVolume
An optional bounding volume that tightly encloses tile content. tile.boundingVolume provides spatial ...
Definition: Content.h:29
std::optional< Cesium3DTiles::MetadataEntity > metadata
Metadata that is associated with this content.
Definition: Content.h:40
The base class for objects that have extensions and extras.