cesium-native 0.66.0
Loading...
Searching...
No Matches
ExtensionExtGeospatialCrs.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 <string>
9
10namespace CesiumGltf {
15struct CESIUMGLTF_API ExtensionExtGeospatialCrs final
20 static constexpr const char* TypeName = "ExtensionExtGeospatialCrs";
23 static constexpr const char* ExtensionName = "EXT_geospatial_crs";
24
29 std::string format;
30
37 int64_t getSizeBytes() const {
38 int64_t accum = 0;
39 accum += int64_t(sizeof(ExtensionExtGeospatialCrs));
41 int64_t(sizeof(CesiumUtility::ExtensibleObject));
42 accum += int64_t(this->format.capacity() * sizeof(char));
43 return accum;
44 }
45};
46} // namespace CesiumGltf
Classes for working with glTF models.
This extension declares the Coordinate Reference System (CRS) in which a glTF 2.1 asset was authored.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
std::string format
The coordinate reference system format, whose value must be defined by additional extensions.
static constexpr const char * ExtensionName
The official name of the extension. This should be the same as its key in the extensions object.
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 ...