29#ifndef _CEGUIKeyFrame_h_
30#define _CEGUIKeyFrame_h_
32#include "CEGUI/String.h"
Defines an 'affector' class.
Definition Affector.h:56
Definition MemoryAllocatedObject.h:110
Defines an 'animation instance' class.
Definition AnimationInstance.h:75
Defines a 'key frame' class.
Definition KeyFrame.h:51
Affector * getParent() const
Retrieves parent Affector of this Key Frame.
~KeyFrame(void)
internal destructor, please use Affector::destroyKeyFrame
size_t getIdxInParent() const
Retrieves index with which this keyframe is retrievable in parent Affector.
void savePropertyValue(AnimationInstance *instance)
Internal method, if this keyframe is using source property, this saves it's value to given instance b...
void moveToPosition(float newPosition)
Moves this keyframe to a new given position.
void setValue(const String &value)
Sets the value of this key frame.
float alterInterpolationPosition(float position)
Internal method, alters interpolation position based on progression method. Don't use unless you know...
void setProgression(Progression p)
Sets the progression method of this key frame.
void writeXMLToStream(XMLSerializer &xml_stream) const
Writes an xml representation of this KeyFrame to out_stream.
const String & getSourceProperty() const
Gets the source property of this key frame.
void notifyPositionChanged(float newPosition)
internal method, notifies this keyframe that it has been moved
Progression
Definition KeyFrame.h:57
@ P_Linear
linear progression
Definition KeyFrame.h:59
@ P_QuadraticDecelerating
progress is decelerated, starts fast and slows down
Definition KeyFrame.h:63
@ P_QuadraticAccelerating
progress is accelerated, starts slow and speeds up
Definition KeyFrame.h:61
float getPosition() const
Retrieves position of this key frame in the animation (in seconds)
KeyFrame(Affector *parent, float position)
internal constructor, please use Affector::createKeyFrame
Progression getProgression() const
Retrieves progression method of this key frame.
const String & getValue() const
Retrieves value of this key frame.
const String & getValueForAnimation(AnimationInstance *instance) const
Retrieves value of this for use when animating.
void setSourceProperty(const String &sourceProperty)
Sets the source property of this key frame.
String class used within the GUI system.
Definition String.h:64
base class for properties able to do native set/get
Definition TypedProperty.h:50
Class used to create XML Document.
Definition XMLSerializer.h:87
Main namespace for Crazy Eddie's GUI Library.
Definition arch_overview.dox:1