Assimp  v4.1. (December 2018)
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

◆ Animation() [1/2]

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

◆ Animation() [2/2]

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

Member Function Documentation

◆ AssociatedVertexData()

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.

◆ ConvertToAssimpAnimation()

aiAnimation * Assimp::Ogre::Animation::ConvertToAssimpAnimation ( )

Convert to Assimp animation.

Member Data Documentation

◆ baseName

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

Base animation name.

◆ baseTime

float Assimp::Ogre::Animation::baseTime

Base animation key time.

◆ length

float Assimp::Ogre::Animation::length

Length in seconds.

◆ name

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

Animation name.

◆ parentMesh

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

Parent mesh.

Note
Set only when animation is read from a mesh.

◆ parentSkeleton

Skeleton* Assimp::Ogre::Animation::parentSkeleton

Parent skeleton.

Note
Set only when animation is read from a skeleton.

◆ tracks

VertexAnimationTrackList Assimp::Ogre::Animation::tracks

Animation tracks.


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