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


Public Member Functions | |
| 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 |
| C3D_API | ~MeshAnimation () noexcept override=default |
| C3D_API | MeshAnimation (Mesh &mesh, castor::String const &name=castor::cuEmptyString) |
| Constructor. | |
| C3D_API void | addChild (MeshAnimationSubmesh object) |
| adds a child to this object. | |
| C3D_API bool | hasChild (Submesh const &object) const noexcept |
| MeshAnimationSubmesh & | getSubmesh (uint32_t index) |
Public Member Functions inherited from castor3d::AnimationT< Engine > | |
| AnimationT (Engine &handler, AnimationType type, AnimableT< Engine > &animable, castor::String const &name=castor::cuEmptyString) | |
| Constructor. | |
| AnimationT (Engine &handler, AnimationType type, castor::String const &name=castor::cuEmptyString) | |
| Constructor. | |
| void | addKeyFrame (AnimationKeyFrameUPtr keyFrame) |
| Adds a keyframe to the animation. | |
| AnimationKeyFrameArray::iterator | find (castor::Milliseconds const &time) |
| Finds a keyframe given a time index. | |
| void | findKeyFrame (castor::Milliseconds const &time, AnimationKeyFrameArray::iterator &prv, AnimationKeyFrameArray::iterator &cur) const |
| Finds a keyframe given a time index. | |
| void | updateLength () |
| Updates the animation length. | |
| bool | isEmpty () const |
| size_t | size () 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) noexcept=default |
| C3D_API | AnimationT (AnimationT const &rhs)=delete |
| C3D_API AnimationT & | operator= (AnimationT &&rhs) noexcept=delete |
| C3D_API AnimationT & | operator= (AnimationT const &rhs)=delete |
| virtual C3D_API | ~AnimationT () noexcept=default |
Public Member Functions inherited from castor::NamedBaseT< T > | |
| NamedBaseT (T name) noexcept | |
| Constructor. | |
| T const & | getName () const noexcept |
| Retrieves the name. | |
| void | rename (T name) noexcept |
Public Member Functions inherited from castor::OwnedBy< Owner > | |
| Owner * | getOwner () const |
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 |
Protected Attributes inherited from castor::NamedBaseT< T > | |
| T | m_name |
Friends | |
| class | BinaryWriter< MeshAnimation > |
| class | BinaryParser< MeshAnimation > |
| class | MeshAnimationInstance |
Additional Inherited Members | |
Protected Member Functions inherited from castor::OwnedBy< Owner > | |
| OwnedBy (Owner &owner) | |
| Constructor. | |
|
default |
|
delete |
|
overridedefaultnoexcept |
|
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 |
| [in] | index | The index. |
References CU_Require, and m_submeshes.
| [in] | object | The submesh. |
true if given submesh is already in children.
|
delete |
|
delete |
|
friend |
|
friend |
|
friend |
|
protected |
The animated submesh.
Referenced by getSubmesh().