ralpha-assets/Plugins/CesiumForUnreal/Source/ThirdParty/include/CesiumGltf/ExtensionExtImplicitCylinde...

70 lines
2.2 KiB
C++

// This file was generated by generate-classes.
// DO NOT EDIT THIS FILE!
#pragma once
#include <CesiumGltf/Library.h>
#include <CesiumUtility/ExtensibleObject.h>
namespace CesiumGltf {
/**
* @brief Extension of `KHR_implicit_shapes.shape` to represent an implicit
* cylinder region in a glTF model.
*/
struct CESIUMGLTF_API ExtensionExtImplicitCylinderRegion final
: public CesiumUtility::ExtensibleObject {
/**
* @brief The original name of this type.
*/
static constexpr const char* TypeName = "ExtensionExtImplicitCylinderRegion";
/** @brief The official name of the extension. This should be the same as its
* key in the `extensions` object. */
static constexpr const char* ExtensionName = "EXT_implicit_cylinder_region";
/**
* @brief The inner radius of the cylinder region along the X and Z axes, in
* meters.
*/
double minRadius = double();
/**
* @brief The outer radius of the cylinder region along the X and Z axes, in
* meters.
*/
double maxRadius = double();
/**
* @brief The height of the cylinder in meters along the Y-axis, in meters.
*/
double height = double();
/**
* @brief The minimum angle of the cylinder region in radians. In other words,
* this is the angle where the cylinder region starts. Must be in the range
* [-pi, pi].
*/
double minAngle = -3.14159265359;
/**
* @brief The maximum angle of the cylinder region in radians. In other words,
* this is the angle where the cylinder region ends. Must be in the range
* [-pi, pi].
*/
double maxAngle = 3.14159265359;
/**
* @brief Calculates the size in bytes of this object, including the contents
* of all collections, pointers, and strings. This will NOT include the size
* of any extensions attached to the object. Calling this method may be slow
* as it requires traversing the object's entire structure.
*/
int64_t getSizeBytes() const {
int64_t accum = 0;
accum += int64_t(sizeof(ExtensionExtImplicitCylinderRegion));
accum += CesiumUtility::ExtensibleObject::getSizeBytes() -
int64_t(sizeof(CesiumUtility::ExtensibleObject));
return accum;
}
};
} // namespace CesiumGltf