Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
Loading...
Searching...
No Matches
Public Member Functions
Animation Class Reference

#include <animation.hpp>

Public Member Functions

 Animation ()=default
 
 Animation (const std::string &animationPath, Model *model)
 
 Animation (const std::string &animationDirPath, const std::string &animName, int frames)
 
 ~Animation ()
 
BonefindBone (const std::string &name)
 
float getTicksPerSecond ()
 
float getDuration ()
 
const AssimpNodeDatagetRootNode ()
 
const std::map< std::string, BoneInfo > & getBoneIDMap ()
 
ModelgetFrame (int frame)
 
int getKeyframeSize ()
 

Constructor & Destructor Documentation

◆ Animation() [1/3]

Animation::Animation ( )
default

◆ Animation() [2/3]

Animation::Animation ( const std::string &  animationPath,
Model model 
)

◆ Animation() [3/3]

Animation::Animation ( const std::string &  animationDirPath,
const std::string &  animName,
int  frames 
)

◆ ~Animation()

Animation::~Animation ( )
inline

Member Function Documentation

◆ findBone()

Bone * Animation::findBone ( const std::string &  name)

◆ getBoneIDMap()

const std::map< std::string, BoneInfo > & Animation::getBoneIDMap ( )
inline

◆ getDuration()

float Animation::getDuration ( )
inline

◆ getFrame()

Model * Animation::getFrame ( int  frame)
inline

◆ getKeyframeSize()

int Animation::getKeyframeSize ( )
inline

◆ getRootNode()

const AssimpNodeData & Animation::getRootNode ( )
inline

◆ getTicksPerSecond()

float Animation::getTicksPerSecond ( )
inline

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