初始提交: UE5.3项目基础框架

This commit is contained in:
2025-10-14 11:14:54 +08:00
commit 721d9fd98e
5334 changed files with 316782 additions and 0 deletions

View File

@ -0,0 +1,72 @@
// This file was generated by generate-classes.
// DO NOT EDIT THIS FILE!
#pragma once
#include <Cesium3DTiles/Library.h>
#include <CesiumUtility/ExtensibleObject.h>
#include <cstdint>
#include <optional>
namespace Cesium3DTiles {
/**
* @brief An object describing the availability of a set of elements.
*/
struct CESIUM3DTILES_API Availability final
: public CesiumUtility::ExtensibleObject {
/**
* @brief The original name of this type.
*/
static constexpr const char* TypeName = "Availability";
/**
* @brief Known values for Integer indicating whether all of the elements are
* available (1) or all are unavailable (0).
*/
struct Constant {
/** @brief UNAVAILABLE (`0`) */
static constexpr int32_t UNAVAILABLE = 0;
/** @brief AVAILABLE (`1`) */
static constexpr int32_t AVAILABLE = 1;
};
/**
* @brief Index of a buffer view that indicates whether each element is
* available. The bitstream conforms to the boolean array encoding described
* in the 3D Metadata specification. If an element is available, its bit is 1,
* and if it is unavailable, its bit is 0.
*/
std::optional<int64_t> bitstream;
/**
* @brief A number indicating how many 1 bits exist in the availability
* bitstream.
*/
std::optional<int64_t> availableCount;
/**
* @brief Integer indicating whether all of the elements are available (1) or
* all are unavailable (0).
*
* Known values are defined in {@link Constant}.
*
*/
std::optional<int32_t> constant;
/**
* @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(Availability));
accum += CesiumUtility::ExtensibleObject::getSizeBytes() -
int64_t(sizeof(CesiumUtility::ExtensibleObject));
return accum;
}
};
} // namespace Cesium3DTiles