Castor3D  ..
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Castor3D::Animable Class Reference

Animable public interface. More...

+ Inheritance diagram for Castor3D::Animable:

Classes

class  BinaryParser
 Animable binary loader. More...
 

Public Member Functions

C3D_API AnimationSPtr CreateAnimation (Castor::String const &p_name)
 Creates an animation. More...
 
C3D_API void CleanupAnimations ()
 Empties the animations map. More...
 
C3D_API AnimationSPtr GetAnimation (Castor::String const &p_name)
 Retrieves an animation. More...
 
AnimationPtrStrMap const & GetAnimations () const
 

Protected Member Functions

 Animable ()
 Constructor. More...
 
 ~Animable ()
 Destructor. More...
 

Protected Attributes

AnimationPtrStrMap m_animations
 All animations. More...
 

Detailed Description

Animable public interface.

Author
Sylvain DOREMUS
Date
09/02/2010
Version
0.7.0

Constructor & Destructor Documentation

◆ Animable()

Castor3D::Animable::Animable ( )
protected

Constructor.

◆ ~Animable()

Castor3D::Animable::~Animable ( )
protected

Destructor.

Member Function Documentation

◆ CleanupAnimations()

C3D_API void Castor3D::Animable::CleanupAnimations ( )

Empties the animations map.

◆ CreateAnimation()

C3D_API AnimationSPtr Castor3D::Animable::CreateAnimation ( Castor::String const &  p_name)

Creates an animation.

Parameters
[in]p_nameThe animation name
Returns
The animation

◆ GetAnimation()

C3D_API AnimationSPtr Castor3D::Animable::GetAnimation ( Castor::String const &  p_name)

Retrieves an animation.

Parameters
[in]p_nameThe animation name
Returns
The animation

◆ GetAnimations()

AnimationPtrStrMap const& Castor3D::Animable::GetAnimations ( ) const
inline
Returns
The animations.

References m_animations.

Member Data Documentation

◆ m_animations

AnimationPtrStrMap Castor3D::Animable::m_animations
protected

All animations.

Referenced by GetAnimations().


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