#include <AnimatedObject.hpp>
◆ AnimatedObject() [1/3]
◆ AnimatedObject() [2/3]
◆ AnimatedObject() [3/3]
C3D_API castor3d::AnimatedObject::AnimatedObject |
( |
AnimationType |
kind, |
|
|
castor::String const & |
name |
|
) |
| |
|
explicit |
Constructor.
- Parameters
-
[in] | kind | The animation type. |
[in] | name | The object name. |
◆ ~AnimatedObject()
virtual C3D_API castor3d::AnimatedObject::~AnimatedObject |
( |
| ) |
|
|
virtualdefault |
◆ addAnimation()
C3D_API void castor3d::AnimatedObject::addAnimation |
( |
castor::String const & |
name | ) |
|
adds the animation to the list
- Parameters
-
[in] | name | The animation to add |
◆ getAnimation()
Retrieves an animation.
- Parameters
-
[in] | name | The animation name |
- Returns
- The animation
◆ getAnimations()
AnimationInstancePtrStrMap const & castor3d::AnimatedObject::getAnimations |
( |
| ) |
const |
|
inline |
◆ getKind()
◆ hasAnimation()
bool castor3d::AnimatedObject::hasAnimation |
( |
castor::String const & |
name | ) |
|
|
inline |
◆ isPlayingAnimation()
virtual C3D_API bool castor3d::AnimatedObject::isPlayingAnimation |
( |
| ) |
const |
|
pure virtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ pauseAllAnimations()
C3D_API void castor3d::AnimatedObject::pauseAllAnimations |
( |
| ) |
|
◆ pauseAnimation()
C3D_API void castor3d::AnimatedObject::pauseAnimation |
( |
castor::String const & |
name | ) |
|
Pauses the animation identified by the given name.
- Parameters
-
[in] | name | The name of the animation |
◆ startAllAnimations()
C3D_API void castor3d::AnimatedObject::startAllAnimations |
( |
| ) |
|
◆ startAnimation()
C3D_API void castor3d::AnimatedObject::startAnimation |
( |
castor::String const & |
name | ) |
|
Starts the animation identified by the given name.
- Parameters
-
[in] | name | The name of the animation |
◆ stopAllAnimations()
C3D_API void castor3d::AnimatedObject::stopAllAnimations |
( |
| ) |
|
◆ stopAnimation()
C3D_API void castor3d::AnimatedObject::stopAnimation |
( |
castor::String const & |
name | ) |
|
Stops the animation identified by the given name.
- Parameters
-
[in] | name | The name of the animation |
◆ update()
virtual C3D_API void castor3d::AnimatedObject::update |
( |
castor::Milliseconds const & |
elapsed | ) |
|
|
pure virtual |
◆ m_animations
AnimationInstancePtrStrMap castor3d::AnimatedObject::m_animations |
|
protected |
The documentation for this class was generated from the following file: