5#include <CesiumGltf/Library.h>
6#include <CesiumGltf/NamedObject.h>
19 static constexpr const char* TypeName =
"Skin";
29 int32_t inverseBindMatrices = -1;
37 int32_t skeleton = -1;
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.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...