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


Public Member Functions | |
| AnimationKeyFrame (castor::Milliseconds const &timeIndex=0_ms) | |
| Constructor. | |
| virtual C3D_API | ~AnimationKeyFrame () noexcept=default |
| Destructor. | |
| virtual C3D_API void | initialise () |
| Initialises the keyframe. | |
| virtual C3D_API AnimationKeyFrameUPtr | clone (Animation &parent) const =0 |
| castor::Milliseconds const & | getTimeIndex () const |
| void | setTimeIndex (castor::Milliseconds const &timeIndex) |
| castor::BoundingBox const & | getBoundingBox () const |
Protected Member Functions | |
| C3D_API void | doCloneInto (AnimationKeyFrame &output) const |
Protected Attributes | |
| castor::Milliseconds | m_timeIndex |
| castor::BoundingBox | m_boundingBox |
|
inlineexplicit |
Constructor.
| [in] | timeIndex | When the key frame starts. |
|
virtualdefaultnoexcept |
Destructor.
|
pure virtual |
Implemented in castor3d::TextureAnimationKeyFrame, castor3d::MeshMorphTarget, castor3d::SkeletonAnimationKeyFrame, and castor3d::SceneNodeAnimationKeyFrame.
|
inlineprotected |
References m_boundingBox.
|
inline |
References m_boundingBox.
|
inline |
References m_timeIndex.
Referenced by castor3d::SkeletonAnimationInstanceKeyFrame::getTimeIndex().

|
inlinevirtual |
Initialises the keyframe.
Reimplemented in castor3d::SkeletonAnimationKeyFrame.
|
inline |
| [in] | timeIndex | The start time index. |
References m_timeIndex.
|
protected |
The bounding box.
Referenced by doCloneInto(), and getBoundingBox().
|
protected |
The start time index.
Referenced by getTimeIndex(), and setTimeIndex().