Assimp  v3.1.1 (June 2014)
Assimp::Ogre::Animation Class Reference

Ogre Animation. More...

Public Member Functions

 Animation (Skeleton *parent)
 
 Animation (Mesh *parent)
 
VertexDataAssociatedVertexData (VertexAnimationTrack *track) const
 Returns the associated vertex data for a track in this animation. More...
 
aiAnimationConvertToAssimpAnimation ()
 Convert to Assimp animation. More...
 

Public Attributes

std::string baseName
 Base animation name. More...
 
float baseTime
 Base animation key time. More...
 
float length
 Length in seconds. More...
 
std::string name
 Animation name. More...
 
MeshparentMesh
 Parent mesh. More...
 
SkeletonparentSkeleton
 Parent skeleton. More...
 
VertexAnimationTrackList tracks
 Animation tracks. More...
 

Detailed Description

Constructor & Destructor Documentation

Assimp::Ogre::Animation::Animation ( Skeleton parent)
explicit
Assimp::Ogre::Animation::Animation ( Mesh parent)
explicit

Member Function Documentation

VertexData * Assimp::Ogre::Animation::AssociatedVertexData ( VertexAnimationTrack track) const

Returns the associated vertex data for a track in this animation.

Note
Only valid to call when parent Mesh is set.
aiAnimation * Assimp::Ogre::Animation::ConvertToAssimpAnimation ( )

Convert to Assimp animation.

Member Data Documentation

std::string Assimp::Ogre::Animation::baseName

Base animation name.

float Assimp::Ogre::Animation::baseTime

Base animation key time.

float Assimp::Ogre::Animation::length

Length in seconds.

std::string Assimp::Ogre::Animation::name

Animation name.

Mesh* Assimp::Ogre::Animation::parentMesh

Parent mesh.

Note
Set only when animation is read from a mesh.
Skeleton* Assimp::Ogre::Animation::parentSkeleton

Parent skeleton.

Note
Set only when animation is read from a skeleton.
VertexAnimationTrackList Assimp::Ogre::Animation::tracks

Animation tracks.


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