OGRE  14.2
Object-Oriented Graphics Rendering Engine
Ogre::NumericKeyFrame Class Reference

Specialised KeyFrame which stores any numeric value. More...

#include <OgreKeyFrame.h>

+ Inheritance diagram for Ogre::NumericKeyFrame:

Public Member Functions

 NumericKeyFrame (const AnimationTrack *parent, Real time)
 Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead. More...
 
 ~NumericKeyFrame ()
 
KeyFrame_clone (AnimationTrack *newParent) const override
 Clone a keyframe (internal use only) More...
 
const AnygetValue (void) const
 Get the value at this keyframe. More...
 
void setValue (const Any &val)
 Set the value at this keyframe. More...
 
- Public Member Functions inherited from Ogre::KeyFrame
 KeyFrame (const AnimationTrack *parent, Real time)
 Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead. More...
 
virtual ~KeyFrame ()
 
Real getTime (void) const
 Gets the time of this keyframe in the animation sequence. More...
 

Detailed Description

Specialised KeyFrame which stores any numeric value.

Constructor & Destructor Documentation

◆ NumericKeyFrame()

Ogre::NumericKeyFrame::NumericKeyFrame ( const AnimationTrack parent,
Real  time 
)

Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.

◆ ~NumericKeyFrame()

Ogre::NumericKeyFrame::~NumericKeyFrame ( )
inline

Member Function Documentation

◆ getValue()

const Any& Ogre::NumericKeyFrame::getValue ( void  ) const
inline

Get the value at this keyframe.

◆ setValue()

void Ogre::NumericKeyFrame::setValue ( const Any val)
inline

Set the value at this keyframe.

All keyframe values must have a consistent type.

◆ _clone()

KeyFrame* Ogre::NumericKeyFrame::_clone ( AnimationTrack newParent) const
overridevirtual

Clone a keyframe (internal use only)

Reimplemented from Ogre::KeyFrame.


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