cesium-native 0.65.0
Loading...
Searching...
No Matches
ExtensionKhrImplicitShapesBox.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 ExtensionKhrImplicitShapesBox final
19 static constexpr const char* TypeName = "ExtensionKhrImplicitShapesBox";
20
24 std::vector<double> size = {1, 1, 1};
25
32 int64_t getSizeBytes() const {
33 int64_t accum = 0;
34 accum += int64_t(sizeof(ExtensionKhrImplicitShapesBox));
36 int64_t(sizeof(CesiumUtility::ExtensibleObject));
37 accum += int64_t(sizeof(double) * this->size.capacity());
38 return accum;
39 }
40};
41} // namespace CesiumGltf
Classes for working with glTF models.
static constexpr const char * TypeName
The original name of this type.
std::vector< double > size
The extents of the box in each axis in local space.
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 ...