Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Friends | List of all members
castor3d::TextureAnimationKeyFrame Class Reference

#include <TextureAnimationKeyFrame.hpp>

Inheritance diagram for castor3d::TextureAnimationKeyFrame:
Inheritance graph
[legend]
Collaboration diagram for castor3d::TextureAnimationKeyFrame:
Collaboration graph
[legend]

Public Member Functions

C3D_API TextureAnimationKeyFrame (TextureAnimation &parent, castor::Milliseconds const &timeIndex)
 Constructor.
 
void setTile (castor::Point2ui tile) noexcept
 
castor::Point2ui const & getTile () const noexcept
 
- Public Member Functions inherited from castor3d::AnimationKeyFrame
 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
 
castor::BoundingBox const & getBoundingBox () const
 
- Public Member Functions inherited from castor::OwnedBy< TextureAnimation >
TextureAnimation * getOwner () const
 

Friends

class BinaryParser< TextureAnimationKeyFrame >
 

Additional Inherited Members

- Protected Member Functions inherited from castor::OwnedBy< TextureAnimation >
 OwnedBy (TextureAnimation &owner)
 Constructor.
 
- Protected Attributes inherited from castor3d::AnimationKeyFrame
castor::Milliseconds m_timeIndex
 
castor::BoundingBox m_boundingBox
 

Constructor & Destructor Documentation

◆ TextureAnimationKeyFrame()

C3D_API castor3d::TextureAnimationKeyFrame::TextureAnimationKeyFrame ( TextureAnimation & parent,
castor::Milliseconds const & timeIndex )

Constructor.

Parameters
[in]parentThe parent animation.
[in]timeIndexWhen the key frame starts.

Member Function Documentation

◆ getTile()

castor::Point2ui const & castor3d::TextureAnimationKeyFrame::getTile ( ) const
inlinenoexcept

◆ setTile()

void castor3d::TextureAnimationKeyFrame::setTile ( castor::Point2ui tile)
inlinenoexcept

Friends And Related Symbol Documentation

◆ BinaryParser< TextureAnimationKeyFrame >

friend class BinaryParser< TextureAnimationKeyFrame >
friend

The documentation for this class was generated from the following file: