PixelLightAPI  .
Classes | Public Member Functions | Protected Attributes
PLRenderer::AnimationBase Class Reference

Animation base class. More...

#include <AnimationBase.h>

Inheritance diagram for PLRenderer::AnimationBase:
Inheritance graph
[legend]

List of all members.

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< FrameKeysm_lstFrameKeys

Detailed Description

Animation base class.


Constructor & Destructor Documentation

Constructor.

virtual PLRENDERER_API PLRenderer::AnimationBase::~AnimationBase ( ) [virtual]

Destructor.


Member Function Documentation

float PLRenderer::AnimationBase::GetFrameRate ( ) const [inline]

Returns the frame rate.

Returns:
Frames per second
void PLRenderer::AnimationBase::SetFrameRate ( float  fFrameRate = 24.0f) [inline]

Sets the frame rate.

Parameters:
[in]fFrameRateFrames per second

Returns the frame keys.

Returns:
Frame keys
virtual PLRENDERER_API AnimationBase& PLRenderer::AnimationBase::operator= ( const AnimationBase cSource) [virtual]

Member Data Documentation

Frame rate

Frame keys


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


PixelLight PixelLight 0.9.11-R1
Copyright (C) 2002-2012 by The PixelLight Team
Last modified Thu Feb 23 2012 14:09:38
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported