OGRE-Next  3.0.0
Object-Oriented Graphics Rendering Engine
Ogre::v1::NumericKeyFrame Class Referencefinal

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

#include <OgreKeyFrame.h>

+ Inheritance diagram for Ogre::v1::NumericKeyFrame:

Public Member Functions

 NumericKeyFrame (const AnimationTrack *parent, Real time)
 Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead. More...
 
 ~NumericKeyFrame () override
 
KeyFrame_clone (AnimationTrack *newParent) const override
 Clone a keyframe (internal use only) More...
 
virtual const AnyNumericgetValue () const
 Get the value at this keyframe. More...
 
virtual void setValue (const AnyNumeric &val)
 Set the value at this keyframe. More...
 
- Public Member Functions inherited from Ogre::v1::KeyFrame
 KeyFrame (const AnimationTrack *parent, Real time)
 Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead. More...
 
virtual ~KeyFrame ()
 
Real getTime () 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::v1::NumericKeyFrame::NumericKeyFrame ( const AnimationTrack parent,
Real  time 
)

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

◆ ~NumericKeyFrame()

Ogre::v1::NumericKeyFrame::~NumericKeyFrame ( )
inlineoverride

Member Function Documentation

◆ _clone()

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

Clone a keyframe (internal use only)

Reimplemented from Ogre::v1::KeyFrame.

◆ getValue()

virtual const AnyNumeric& Ogre::v1::NumericKeyFrame::getValue ( ) const
virtual

Get the value at this keyframe.

◆ setValue()

virtual void Ogre::v1::NumericKeyFrame::setValue ( const AnyNumeric val)
virtual

Set the value at this keyframe.

Remarks
All keyframe values must have a consistent type.

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