Assimp
v4.1. (December 2018)
|
Inherits glTF2::Object.
Classes | |
struct | AnimChannel |
struct | AnimParameters |
struct | AnimSampler |
Public Member Functions | |
Animation () | |
Ref< Accessor > | GetAccessor (std::string name) |
Get accessor given an animation parameter name. More... | |
void | Read (Value &obj, Asset &r) |
![]() | |
virtual bool | IsSpecial () const |
Objects marked as special are not exported (used to emulate the binary body buffer) More... | |
virtual | ~Object () |
Public Attributes | |
std::vector< AnimChannel > | Channels |
Connect the output values of the key-frame animation to a specific node in the hierarchy. More... | |
AnimParameters | Parameters |
The samplers that interpolate between the key-frames. More... | |
std::vector< AnimSampler > | Samplers |
The parameterized inputs representing the key-frame data. More... | |
![]() | |
std::string | id |
The globally unique ID used to reference this object. More... | |
int | index |
The index of this object within its property container. More... | |
std::string | name |
The user-defined name of this object. More... | |
int | oIndex |
The original index of this object defined in the JSON. More... | |
Additional Inherited Members | |
![]() | |
static const char * | TranslateId (Asset &, const char *id) |
Maps special IDs to another ID, where needed. Subclasses may override it (statically) More... | |
|
inline |
Get accessor given an animation parameter name.
std::vector<AnimChannel> glTF2::Animation::Channels |
Connect the output values of the key-frame animation to a specific node in the hierarchy.
AnimParameters glTF2::Animation::Parameters |
The samplers that interpolate between the key-frames.
std::vector<AnimSampler> glTF2::Animation::Samplers |
The parameterized inputs representing the key-frame data.