Assimp  v4.1. (December 2018)
Assimp::Ogre::VertexAnimationTrack Struct Reference

Ogre Animation Track. More...

Public Types

enum  Type { VAT_NONE = 0 , VAT_MORPH = 1 , VAT_POSE = 2 , VAT_TRANSFORM = 3 }
 

Public Member Functions

aiNodeAnimConvertToAssimpAnimationNode (Skeleton *skeleton)
 Convert to Assimp node animation. More...
 
 VertexAnimationTrack ()
 

Public Attributes

std::string boneName
 Only valid for VAT_TRANSFORM. More...
 
MorphKeyFrameList morphKeyFrames
 
PoseKeyFrameList poseKeyFrames
 Only one of these will contain key frames, depending on the type enum. More...
 
uint16_t target
 Vertex data target. More...
 
TransformKeyFrameList transformKeyFrames
 
Type type
 

Detailed Description

Ogre Animation Track.

Member Enumeration Documentation

◆ Type

Enumerator
VAT_NONE 

No animation.

VAT_MORPH 

Morph animation is made up of many interpolated snapshot keyframes.

VAT_POSE 

Pose animation is made up of a single delta pose keyframe.

VAT_TRANSFORM 

Keyframe that has its on pos, rot and scale for a time position.

Constructor & Destructor Documentation

◆ VertexAnimationTrack()

Assimp::Ogre::VertexAnimationTrack::VertexAnimationTrack ( )

Member Function Documentation

◆ ConvertToAssimpAnimationNode()

aiNodeAnim * Assimp::Ogre::VertexAnimationTrack::ConvertToAssimpAnimationNode ( Skeleton skeleton)

Convert to Assimp node animation.

Member Data Documentation

◆ boneName

std::string Assimp::Ogre::VertexAnimationTrack::boneName

Only valid for VAT_TRANSFORM.

◆ morphKeyFrames

MorphKeyFrameList Assimp::Ogre::VertexAnimationTrack::morphKeyFrames

◆ poseKeyFrames

PoseKeyFrameList Assimp::Ogre::VertexAnimationTrack::poseKeyFrames

Only one of these will contain key frames, depending on the type enum.

◆ target

uint16_t Assimp::Ogre::VertexAnimationTrack::target

Vertex data target.

0 == shared geometry >0 == submesh index + 1

◆ transformKeyFrames

TransformKeyFrameList Assimp::Ogre::VertexAnimationTrack::transformKeyFrames

◆ type

Type Assimp::Ogre::VertexAnimationTrack::type

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