cesium-native 0.66.0
Loading...
Searching...
No Matches
Extension3dTilesHorizonOcclusionPoint.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#include <CesiumUtility/ExtensibleObject.h>
7
8#include <vector>
9
10namespace CesiumGltf {
14struct CESIUMGLTF_API Extension3dTilesHorizonOcclusionPoint final
19 static constexpr const char* TypeName =
20 "Extension3dTilesHorizonOcclusionPoint";
23 static constexpr const char* ExtensionName =
24 "3DTILES_horizon_occlusion_point";
25
31 std::vector<double> horizonOcclusionPoint;
32
39 int64_t getSizeBytes() const {
40 int64_t accum = 0;
41 accum += int64_t(sizeof(Extension3dTilesHorizonOcclusionPoint));
43 int64_t(sizeof(CesiumUtility::ExtensibleObject));
44 accum += int64_t(sizeof(double) * this->horizonOcclusionPoint.capacity());
45 return accum;
46 }
47};
48} // namespace CesiumGltf
Classes for working with glTF models.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
static constexpr const char * ExtensionName
The official name of the extension. This should be the same as its key in the extensions object.
std::vector< double > horizonOcclusionPoint
The horizon occlusion point expressed in an ellipsoid-scaled fixed frame. If this point is below the ...
static constexpr const char * TypeName
The original name of this type.
The base class for objects that have extensions and extras.
int64_t getSizeBytes() const
Calculates the size in bytes of this ExtensibleObject, including all of its extras but NOT including ...