cesium-native 0.65.0
Loading...
Searching...
No Matches
ExtensionKhrImplicitShapesCylinder.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 ExtensionKhrImplicitShapesCylinder final
17 static constexpr const char* TypeName = "ExtensionKhrImplicitShapesCylinder";
18
22 double height = 0.5;
23
28 double radiusBottom = 0.25;
29
33 double radiusTop = 0.25;
34
41 int64_t getSizeBytes() const {
42 int64_t accum = 0;
43 accum += int64_t(sizeof(ExtensionKhrImplicitShapesCylinder));
45 int64_t(sizeof(CesiumUtility::ExtensibleObject));
46
47 return accum;
48 }
49};
50} // namespace CesiumGltf
Classes for working with glTF models.
double radiusTop
The radius of the top of the cylinder (the disk located along +Y.)
double radiusBottom
The radius of the bottom of the cylinder (the disk located along -Y.)
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
double height
The height of the cylinder, centered along the Y axis.
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 ...