|
Foundation
|
A single animated component of a single joint: sorted keyframe times + packed values. More...
#include <Animation.hpp>
Public Member Functions | |
| FAnimChannel (Allocator *alloc=GLOBAL_ALLOC) | |
Public Attributes | |
| uint32_t | joint {0} |
| FAnimPath | path {FAnimPath::Translation} |
| FAnimInterp | interp {FAnimInterp::Linear} |
| Vector< float > | times |
| Vector< float > | values |
A single animated component of a single joint: sorted keyframe times + packed values.
Values are packed component-major, one key after another: Translation/Scale store 3 floats/key, Rotation stores 4 (xyzw). FAnimInterp::CubicSpline stores 3 sub-tuples/key in glTF order (in-tangent, value, out-tangent). Times are seconds, strictly ascending; sampling clamps to the first/last key (looping is the caller's choice).
|
inlineexplicit |
| FAnimInterp FAnimChannel::interp {FAnimInterp::Linear} |
| uint32_t FAnimChannel::joint {0} |
| FAnimPath FAnimChannel::path {FAnimPath::Translation} |
| Vector<float> FAnimChannel::times |
| Vector<float> FAnimChannel::values |