cesium-native 0.45.0
Loading...
Searching...
No Matches
Cylinder.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
8namespace CesiumGltf {
12struct CESIUMGLTF_API Cylinder final : public CesiumUtility::ExtensibleObject {
16 static constexpr const char* TypeName = "Cylinder";
17
21 double height = 0.5;
22
27 double radiusBottom = 0.25;
28
32 double radiusTop = 0.25;
33
40 int64_t getSizeBytes() const {
41 int64_t accum = 0;
42 accum += int64_t(sizeof(Cylinder));
44 int64_t(sizeof(CesiumUtility::ExtensibleObject));
45
46 return accum;
47 }
48};
49} // namespace CesiumGltf
Classes for working with glTF models.
Parameters describing a cylinder shape.
Definition Cylinder.h:12
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
Definition Cylinder.h:40
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 ...