Castor3D 0.16.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 = castor::Vector< castor::Pair< SkeletonAnimationInstanceObject *, castor::Matrix4x4f > >
 

Public Member Functions

C3D_API SkeletonAnimationInstanceKeyFrame (SkeletonAnimationInstance &skeletonAnimation, SkeletonAnimationKeyFrame const &keyFrame, AnimatedSkeleton &skeleton)
 Constructor.
 
C3D_API void apply ()
 Applies the keyframe.
 
castor::Milliseconds const & getTimeIndex () const
 
- Public Member Functions inherited from castor::OwnedBy< SkeletonAnimationInstance >
SkeletonAnimationInstance * getOwner () const
 

Additional Inherited Members

- Protected Member Functions inherited from castor::OwnedBy< SkeletonAnimationInstance >
 OwnedBy (SkeletonAnimationInstance &owner)
 Constructor.
 

Member Typedef Documentation

◆ ObjectArray

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: