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

Inherits glTF2::Object.

Classes

struct  AnimChannel
 
struct  AnimParameters
 
struct  AnimSampler
 

Public Member Functions

 Animation ()
 
Ref< AccessorGetAccessor (std::string name)
 Get accessor given an animation parameter name. More...
 
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< AnimChannelChannels
 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< AnimSamplerSamplers
 The parameterized inputs representing the key-frame data. 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

◆ GetAccessor()

Ref<Accessor> glTF2::Animation::GetAccessor ( std::string  name)
inline

Get accessor given an animation parameter name.

◆ Read()

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

Member Data Documentation

◆ Channels

std::vector<AnimChannel> glTF2::Animation::Channels

Connect the output values of the key-frame animation to a specific node in the hierarchy.

◆ Parameters

AnimParameters glTF2::Animation::Parameters

The samplers that interpolate between the key-frames.

◆ Samplers

std::vector<AnimSampler> glTF2::Animation::Samplers

The parameterized inputs representing the key-frame data.


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