![]() |
Castor3D 0.12.0
Multiplatform 3D engine
|
#include <SceneNodeAnimation.hpp>
Public Member Functions | |
C3D_API | SceneNodeAnimation (SceneNode &node, castor::String const &name=castor::cuEmptyString) |
Constructor. More... | |
C3D_API | SceneNodeAnimation (SceneNodeAnimation &&rhs)=default |
C3D_API SceneNodeAnimation & | operator= (SceneNodeAnimation &&rhs)=delete |
C3D_API | SceneNodeAnimation (SceneNodeAnimation const &rhs)=delete |
C3D_API SceneNodeAnimation & | operator= (SceneNodeAnimation const &rhs)=delete |
![]() | |
AnimationT (Engine &handler, AnimationType type, AnimableT< Engine > &animable, castor::String const &name=castor::cuEmptyString) | |
Constructor. More... | |
AnimationT (Engine &handler, AnimationType type, castor::String const &name=castor::cuEmptyString) | |
Constructor. More... | |
void | addKeyFrame (AnimationKeyFrameUPtr keyFrame) |
Adds a keyframe to the animation. More... | |
AnimationKeyFrameArray::iterator | find (castor::Milliseconds const &time) |
Finds a keyframe given a time index. More... | |
void | findKeyFrame (castor::Milliseconds const &time, AnimationKeyFrameArray::iterator &prv, AnimationKeyFrameArray::iterator &cur) const |
Finds a keyframe given a time index. More... | |
void | updateLength () |
Updates the animation length. More... | |
bool | isEmpty () const |
AnimationKeyFrameArray::const_iterator | begin () const |
AnimationKeyFrameArray::iterator | begin () |
AnimationKeyFrameArray::const_iterator | end () const |
AnimationKeyFrameArray::iterator | end () |
AnimationType | getType () const |
castor::Milliseconds const & | getLength () const |
AnimableT< Engine > * | getAnimable () const |
C3D_API | AnimationT (AnimationT &&rhs)=default |
C3D_API | AnimationT (AnimationT const &rhs)=delete |
C3D_API AnimationT & | operator= (AnimationT &&rhs)=delete |
C3D_API AnimationT & | operator= (AnimationT const &rhs)=delete |
virtual C3D_API | ~AnimationT ()=default |
Friends | |
class | BinaryWriter< SceneNodeAnimation > |
class | BinaryParser< SceneNodeAnimation > |
class | SceneNodeAnimationInstance |
Additional Inherited Members | |
![]() | |
AnimableT< Engine > * | m_animable |
AnimationType | m_type |
castor::Milliseconds | m_length |
AnimationKeyFrameArray | m_keyframes |
|
default |
name Copy / Move.
|
delete |
|
explicit |
Constructor.
[in] | node | The parent animable object. |
[in] | name | The name of the animation. |
|
delete |
|
delete |
|
friend |
|
friend |
|
friend |