cesium-native 0.66.0
Loading...
Searching...
No Matches
ExtensionExtGeoreference.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 <optional>
9
10namespace CesiumGltf {
15struct CESIUMGLTF_API ExtensionExtGeoreference final
20 static constexpr const char* TypeName = "ExtensionExtGeoreference";
23 static constexpr const char* ExtensionName = "EXT_georeference";
24
28 double longitude = double();
29
33 double latitude = double();
34
38 std::optional<double> height;
39
46 int64_t getSizeBytes() const {
47 int64_t accum = 0;
48 accum += int64_t(sizeof(ExtensionExtGeoreference));
50 int64_t(sizeof(CesiumUtility::ExtensibleObject));
51
52 return accum;
53 }
54};
55} // namespace CesiumGltf
Classes for working with glTF models.
This extension georeferences a node to the provided geographic coordinates.
std::optional< double > height
Height above (or below) the ellipsoid specified in meters.
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.
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 ...