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