PixelLightAPI
.
|
#include <AnimationBase.h>
Classes | |
class | FrameKeys |
Animation frame keys. More... | |
Public Member Functions | |
PLRENDERER_API | AnimationBase () |
Constructor. | |
virtual PLRENDERER_API | ~AnimationBase () |
Destructor. | |
float | GetFrameRate () const |
Returns the frame rate. | |
void | SetFrameRate (float fFrameRate=24.0f) |
Sets the frame rate. | |
PLCore::Array< FrameKeys > & | GetFrameKeys () |
Returns the frame keys. | |
virtual PLRENDERER_API AnimationBase & | operator= (const AnimationBase &cSource) |
Protected Attributes | |
float | m_fFrameRate |
PLCore::Array< FrameKeys > | m_lstFrameKeys |
Animation base class.
PLRENDERER_API PLRenderer::AnimationBase::AnimationBase | ( | ) |
Constructor.
virtual PLRENDERER_API PLRenderer::AnimationBase::~AnimationBase | ( | ) | [virtual] |
Destructor.
float PLRenderer::AnimationBase::GetFrameRate | ( | ) | const [inline] |
Returns the frame rate.
void PLRenderer::AnimationBase::SetFrameRate | ( | float | fFrameRate = 24.0f | ) | [inline] |
Sets the frame rate.
[in] | fFrameRate | Frames per second |
PLCore::Array< AnimationBase::FrameKeys > & PLRenderer::AnimationBase::GetFrameKeys | ( | ) | [inline] |
Returns the frame keys.
virtual PLRENDERER_API AnimationBase& PLRenderer::AnimationBase::operator= | ( | const AnimationBase & | cSource | ) | [virtual] |
float PLRenderer::AnimationBase::m_fFrameRate [protected] |
Frame rate
Frame keys
|