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