cesium-native 0.65.0
Loading...
Searching...
No Matches
ExtensionKhrImplicitShapesCapsule.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 ExtensionKhrImplicitShapesCapsule final
17 static constexpr const char* TypeName = "ExtensionKhrImplicitShapesCapsule";
18
23 double height = 0.5;
24
29 double radiusBottom = 0.25;
30
35 double radiusTop = 0.25;
36
43 int64_t getSizeBytes() const {
44 int64_t accum = 0;
45 accum += int64_t(sizeof(ExtensionKhrImplicitShapesCapsule));
47 int64_t(sizeof(CesiumUtility::ExtensibleObject));
48
49 return accum;
50 }
51};
52} // namespace CesiumGltf
Classes for working with glTF models.
static constexpr const char * TypeName
The original name of this type.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
double height
The distance between the centers of the two capping spheres of capsule.
double radiusBottom
The radius of the sphere located at the bottom of the capsule (i.e. the sphere at the half-height alo...
double radiusTop
The radius of the sphere located at the top of the capsule (i.e. the sphere at the half-height along ...
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 ...