cesium-native 0.43.0
Loading...
Searching...
No Matches
ExtensionCesiumRTC.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 ExtensionCesiumRTC final
19 static constexpr const char* TypeName = "ExtensionCesiumRTC";
22 static constexpr const char* ExtensionName = "CESIUM_RTC";
23
27 std::vector<double> center;
28
35 int64_t getSizeBytes() const {
36 int64_t accum = 0;
37 accum += int64_t(sizeof(ExtensionCesiumRTC));
39 int64_t(sizeof(CesiumUtility::ExtensibleObject));
40 accum += int64_t(sizeof(double) * this->center.capacity());
41 return accum;
42 }
43};
44} // namespace CesiumGltf
Classes for working with glTF models.
glTF CESIUM_RTC extension.
std::vector< double > center
Center that vertex positions are relative to.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
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 ...