cesium-native 0.43.0
|
Known values for Interpolation algorithm. More...
#include <CesiumGltf/AnimationSampler.h>
Static Public Attributes | |
static const std::string | LINEAR = "LINEAR" |
The animated values are linearly interpolated between keyframes. When targeting a rotation, spherical linear interpolation (slerp) SHOULD be used to interpolate quaternions. The number of output elements MUST equal the number of input elements. | |
static const std::string | STEP = "STEP" |
The animated values remain constant to the output of the first keyframe, until the next keyframe. The number of output elements MUST equal the number of input elements. | |
static const std::string | CUBICSPLINE = "CUBICSPLINE" |
The animation's interpolation is computed using a cubic spline with specified tangents. The number of output elements MUST equal three times the number of input elements. For each input element, the output stores three elements, an in-tangent, a spline vertex, and an out-tangent. There MUST be at least two keyframes when using this interpolation. | |
Known values for Interpolation algorithm.
Definition at line 26 of file AnimationSampler.h.
|
inlinestatic |
The animation's interpolation is computed using a cubic spline with specified tangents. The number of output elements MUST equal three times the number of input elements. For each input element, the output stores three elements, an in-tangent, a spline vertex, and an out-tangent. There MUST be at least two keyframes when using this interpolation.
Definition at line 44 of file AnimationSampler.h.
|
inlinestatic |
The animated values are linearly interpolated between keyframes. When targeting a rotation, spherical linear interpolation (slerp) SHOULD be used to interpolate quaternions. The number of output elements MUST equal the number of input elements.
Definition at line 31 of file AnimationSampler.h.
|
inlinestatic |
The animated values remain constant to the output of the first keyframe, until the next keyframe. The number of output elements MUST equal the number of input elements.
Definition at line 36 of file AnimationSampler.h.