Castor3D 0.12.0
Multiplatform 3D engine
Public Member Functions | Protected Attributes | List of all members
castor3d::AnimationKeyFrame Class Reference

#include <AnimationKeyFrame.hpp>

Inheritance diagram for castor3d::AnimationKeyFrame:
Inheritance graph
[legend]

Public Member Functions

 AnimationKeyFrame (castor::Milliseconds const &timeIndex=0_ms)
 Constructor. More...
 
virtual C3D_API ~AnimationKeyFrame ()=default
 Destructor. More...
 
virtual C3D_API void initialise ()
 Initialises the keyframe. More...
 
castor::Milliseconds const & getTimeIndex () const
 

Protected Attributes

castor::Milliseconds m_timeIndex
 
castor::BoundingBox m_boundingBox
 

Constructor & Destructor Documentation

◆ AnimationKeyFrame()

castor3d::AnimationKeyFrame::AnimationKeyFrame ( castor::Milliseconds const &  timeIndex = 0_ms)
inlineexplicit

Constructor.

Parameters
[in]timeIndexWhen the key frame starts.

◆ ~AnimationKeyFrame()

virtual C3D_API castor3d::AnimationKeyFrame::~AnimationKeyFrame ( )
virtualdefault

Destructor.

Member Function Documentation

◆ getTimeIndex()

castor::Milliseconds const & castor3d::AnimationKeyFrame::getTimeIndex ( ) const
inline
Returns
The start time index.

References m_timeIndex.

Referenced by castor3d::SkeletonAnimationInstanceKeyFrame::getTimeIndex().

Here is the caller graph for this function:

◆ initialise()

virtual C3D_API void castor3d::AnimationKeyFrame::initialise ( )
inlinevirtual

Initialises the keyframe.

Reimplemented in castor3d::SkeletonAnimationKeyFrame.

Member Data Documentation

◆ m_boundingBox

castor::BoundingBox castor3d::AnimationKeyFrame::m_boundingBox
protected

The bounding box.

◆ m_timeIndex

castor::Milliseconds castor3d::AnimationKeyFrame::m_timeIndex
protected

The start time index.

Referenced by getTimeIndex().


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