5#include <CesiumGltf/Library.h>
6#include <CesiumGltf/NamedObject.h>
19 static constexpr const char*
TypeName =
"Skin";
52 accum += int64_t(
sizeof(
Skin));
55 accum += int64_t(
sizeof(int32_t) * this->joints.capacity());
Classes for working with glTF models.
The base class for objects in a glTF that have a name.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
Joints and matrices defining a skin.
std::vector< int32_t > joints
Indices of skeleton nodes, used as joints in this skin.
int32_t skeleton
The index of the node used as a skeleton root.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
int32_t inverseBindMatrices
The index of the accessor containing the floating-point 4x4 inverse-bind matrices.
static constexpr const char * TypeName
The original name of this type.