![]() |
Castor3D 0.12.0
Multiplatform 3D engine
|
#include <MeshAnimation.hpp>


Public Member Functions | |
| C3D_API | MeshAnimation (Mesh &mesh, castor::String const &name=castor::cuEmptyString) |
| Constructor. More... | |
| C3D_API void | addChild (MeshAnimationSubmesh object) |
| adds a child to this object. More... | |
| MeshAnimationSubmesh & | getSubmesh (uint32_t index) |
| C3D_API | MeshAnimation (MeshAnimation &&rhs)=default |
| C3D_API MeshAnimation & | operator= (MeshAnimation &&rhs)=delete |
| C3D_API | MeshAnimation (MeshAnimation const &rhs)=delete |
| C3D_API MeshAnimation & | operator= (MeshAnimation const &rhs)=delete |
Public Member Functions inherited from castor3d::AnimationT< Engine > | |
| 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 |
Protected Attributes | |
| MeshAnimationSubmeshArray | m_submeshes |
Protected Attributes inherited from castor3d::AnimationT< Engine > | |
| AnimableT< Engine > * | m_animable |
| AnimationType | m_type |
| castor::Milliseconds | m_length |
| AnimationKeyFrameArray | m_keyframes |
Friends | |
| class | BinaryWriter< MeshAnimation > |
| class | BinaryParser< MeshAnimation > |
| class | MeshAnimationInstance |
|
default |
name Copy / Move.
|
delete |
|
explicit |
Constructor.
| [in] | mesh | The parent mesh. |
| [in] | name | The name of the animation. |
| C3D_API void castor3d::MeshAnimation::addChild | ( | MeshAnimationSubmesh | object | ) |
adds a child to this object.
| [in] | object | The child. |
|
inline |
|
delete |
|
delete |
|
friend |
|
friend |
|
friend |
|
protected |
The animated submesh.
Referenced by getSubmesh().