Assimp  v4.1. (December 2018)
glTF2::Animation Struct Reference

Inherits glTF2::Object.

Classes

struct  Channel
 
struct  Sampler
 
struct  Target
 

Public Member Functions

 Animation ()
 
void Read (Value &obj, Asset &r)
 
- Public Member Functions inherited from glTF2::Object
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< Channelchannels
 Data to connect nodes to key-frames. More...
 
std::vector< Samplersamplers
 All the key-frame data for this animation. More...
 
- Public Attributes inherited from glTF2::Object
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 Public Member Functions inherited from glTF2::Object
static const char * TranslateId (Asset &, const char *id)
 Maps special IDs to another ID, where needed. Subclasses may override it (statically) More...
 

Constructor & Destructor Documentation

◆ Animation()

glTF2::Animation::Animation ( )
inline

Member Function Documentation

◆ Read()

void glTF2::Animation::Read ( Value obj,
Asset r 
)
inline

Member Data Documentation

◆ channels

std::vector<Channel> glTF2::Animation::channels

Data to connect nodes to key-frames.

◆ samplers

std::vector<Sampler> glTF2::Animation::samplers

All the key-frame data for this animation.


The documentation for this struct was generated from the following files: