Sleeping Wombat GUI
0.100
swGUI
|
Interface class for manipulating animation keys. More...
#include <Animation.h>
Public Types | |
typedef IInterpolator< KeyType > | Interpolator |
Public Member Functions | |
virtual | ~AnimationTyped ()=default |
virtual bool | AddKey (TimeType time, const KeyType &value)=0 |
Adds key and sets default interpolator. More... | |
virtual bool | AddKey (TimeType time, const KeyType &value, InterpolatorType interpolatorType)=0 |
Adds key and sets given interpolator. More... | |
virtual bool | UpdateKey (TimeType time, const KeyType &newValue, UPtr< Interpolator > &&interpolator)=0 |
Udates key given by time. Sets new interpolator. More... | |
virtual bool | UpdateKey (TimeType time, const KeyType &newValue)=0 |
Updates key. Leaves interpolator unchanged. More... | |
virtual bool | RemoveKey (TimeType time)=0 |
Removes key in given time. More... | |
virtual bool | ChangeInterpolator (Size idx, UPtr< Interpolator > &&interpolator)=0 |
Updates interpolator. Key remains unchanged. More... | |
virtual bool | ChangeInterpolator (Size idx, InterpolatorType interpolatorType)=0 |
Updates interpolator. You can set only built in interpolators. If you want to set your own interpolators use second overload instead. More... | |
virtual Interpolator * | GetInterpolator (Size idx)=0 |
Gets interpolator under index. You're not owner of this interpolator. More... | |
virtual const Key< KeyType > * | GetKey (TimeType time)=0 |
Return key in given time. More... | |
virtual KeySet< KeyType > & | GetKeySet ()=0 |
Returns KeySet object. More... | |
Public Member Functions inherited from IAnimation | |
IAnimation ()=default | |
virtual | ~IAnimation ()=default |
virtual void | Animate (EngineObject *object, TimelineBase *timeline)=0 |
virtual void | Animate (EngineObject *object, TimeType time)=0 |
Interface class for manipulating animation keys.
Inherit from this class to specialize parameter addressing method.
typedef IInterpolator< KeyType > AnimationTyped< KeyType >::Interpolator |
|
virtualdefault |
|
pure virtual |
Adds key and sets default interpolator.
Implemented in AnimationImpl< KeyType, AddressType >.
|
pure virtual |
Adds key and sets given interpolator.
Implemented in AnimationImpl< KeyType, AddressType >.
|
pure virtual |
Updates interpolator. Key remains unchanged.
Implemented in AnimationImpl< KeyType, AddressType >.
|
pure virtual |
Updates interpolator. You can set only built in interpolators. If you want to set your own interpolators use second overload instead.
Implemented in AnimationImpl< KeyType, AddressType >.
|
pure virtual |
Gets interpolator under index. You're not owner of this interpolator.
Implemented in AnimationImpl< KeyType, AddressType >.
|
pure virtual |
Return key in given time.
Implemented in AnimationImpl< KeyType, AddressType >.
|
pure virtual |
Returns KeySet object.
Implemented in AnimationImpl< KeyType, AddressType >.
|
pure virtual |
Removes key in given time.
Implemented in AnimationImpl< KeyType, AddressType >.
|
pure virtual |
Udates key given by time. Sets new interpolator.
Implemented in AnimationImpl< KeyType, AddressType >.
|
pure virtual |
Updates key. Leaves interpolator unchanged.
Implemented in AnimationImpl< KeyType, AddressType >.