Castor3D 0.12.0
Multiplatform 3D engine
Public Types | Public Member Functions | List of all members
castor3d::SkeletonAnimationInstanceKeyFrame Class Reference

#include <SkeletonAnimationInstanceKeyFrame.hpp>

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

Public Types

using ObjectArray = std::vector< std::pair< SkeletonAnimationInstanceObject *, castor::Matrix4x4f > >
 

Public Member Functions

C3D_API SkeletonAnimationInstanceKeyFrame (SkeletonAnimationInstance &skeletonAnimation, SkeletonAnimationKeyFrame const &keyFrame, AnimatedSkeleton &skeleton)
 Constructor. More...
 
C3D_API void apply ()
 Applies the keyframe. More...
 
castor::Milliseconds const & getTimeIndex () const
 

Member Typedef Documentation

◆ ObjectArray

using castor3d::SkeletonAnimationInstanceKeyFrame::ObjectArray = std::vector< std::pair< SkeletonAnimationInstanceObject *, castor::Matrix4x4f > >

Constructor & Destructor Documentation

◆ SkeletonAnimationInstanceKeyFrame()

C3D_API castor3d::SkeletonAnimationInstanceKeyFrame::SkeletonAnimationInstanceKeyFrame ( SkeletonAnimationInstance skeletonAnimation,
SkeletonAnimationKeyFrame const &  keyFrame,
AnimatedSkeleton skeleton 
)

Constructor.

Parameters
[in]skeletonAnimationThe animation instance.
[in]keyFrameThe animation keyframe.
[in]skeletonThe target animated skeleton.

Member Function Documentation

◆ apply()

C3D_API void castor3d::SkeletonAnimationInstanceKeyFrame::apply ( )

Applies the keyframe.

◆ getTimeIndex()

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

References castor3d::AnimationKeyFrame::getTimeIndex().

Here is the call graph for this function:

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