初始提交: 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,53 @@
// This file was generated by generate-classes.
// DO NOT EDIT THIS FILE!
#pragma once
#include <CesiumGltf/AnimationChannelTarget.h>
#include <CesiumGltf/Library.h>
#include <CesiumUtility/ExtensibleObject.h>
#include <cstdint>
namespace CesiumGltf {
/**
* @brief An animation channel combines an animation sampler with a target
* property being animated.
*/
struct CESIUMGLTF_API AnimationChannel final
: public CesiumUtility::ExtensibleObject {
/**
* @brief The original name of this type.
*/
static constexpr const char* TypeName = "AnimationChannel";
/**
* @brief The index of a sampler in this animation used to compute the value
* for the target.
*
* The index of a sampler in this animation used to compute the value for the
* target, e.g., a node's translation, rotation, or scale (TRS).
*/
int32_t sampler = -1;
/**
* @brief The descriptor of the animated property.
*/
CesiumGltf::AnimationChannelTarget target;
/**
* @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(AnimationChannel));
accum += CesiumUtility::ExtensibleObject::getSizeBytes() -
int64_t(sizeof(CesiumUtility::ExtensibleObject));
accum += this->target.getSizeBytes() -
int64_t(sizeof(CesiumGltf::AnimationChannelTarget));
return accum;
}
};
} // namespace CesiumGltf