5#include <CesiumGltf/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
21 static constexpr const char*
TypeName =
"AnimationSampler";
31 inline static const std::string
LINEAR =
"LINEAR";
36 inline static const std::string
STEP =
"STEP";
Classes for working with glTF models.
Known values for Interpolation algorithm.
static const std::string CUBICSPLINE
The animation's interpolation is computed using a cubic spline with specified tangents....
static const std::string LINEAR
The animated values are linearly interpolated between keyframes. When targeting a rotation,...
static const std::string STEP
The animated values remain constant to the output of the first keyframe, until the next keyframe....
An animation sampler combines timestamps with a sequence of output values and defines an interpolatio...
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
int32_t output
The index of an accessor, containing keyframe output values.
static constexpr const char * TypeName
The original name of this type.
int32_t input
The index of an accessor containing keyframe timestamps.
std::string interpolation
Interpolation algorithm.
The base class for objects that have extensions and extras.
int64_t getSizeBytes() const
Calculates the size in bytes of this ExtensibleObject, including all of its extras but NOT including ...