![]() |
Castor3D 0.17.0
Multiplatform 3D engine
|
#include <TextureAnimationKeyFrame.hpp>
Public Member Functions | |
C3D_API | TextureAnimationKeyFrame (TextureAnimation &parent, castor::Milliseconds const &timeIndex) |
Constructor. | |
C3D_API AnimationKeyFrameUPtr | clone (Animation &parent) const override |
void | setTile (castor::Point2ui tile) noexcept |
castor::Point2ui const & | getTile () const noexcept |
![]() | |
AnimationKeyFrame (castor::Milliseconds const &timeIndex=0_ms) | |
Constructor. | |
virtual C3D_API | ~AnimationKeyFrame () noexcept=default |
Destructor. | |
virtual C3D_API void | initialise () |
Initialises the keyframe. | |
castor::Milliseconds const & | getTimeIndex () const |
void | setTimeIndex (castor::Milliseconds const &timeIndex) |
castor::BoundingBox const & | getBoundingBox () const |
![]() | |
TextureAnimation * | getOwner () const noexcept |
void | setOwner (TextureAnimation &owner) noexcept |
Friends | |
class | BinaryParser< TextureAnimationKeyFrame > |
Additional Inherited Members | |
![]() | |
C3D_API void | doCloneInto (AnimationKeyFrame &output) const |
![]() | |
OwnedBy (TextureAnimation &owner) noexcept | |
Constructor. | |
![]() | |
castor::Milliseconds | m_timeIndex |
castor::BoundingBox | m_boundingBox |
C3D_API castor3d::TextureAnimationKeyFrame::TextureAnimationKeyFrame | ( | TextureAnimation & | parent, |
castor::Milliseconds const & | timeIndex ) |
Constructor.
[in] | parent | The parent animation. |
[in] | timeIndex | When the key frame starts. |
|
overridevirtual |
Implements castor3d::AnimationKeyFrame.
|
inlinenoexcept |
|
inlinenoexcept |
|
friend |