|
Sleeping Wombat Common Library
0.50.0
swCommonLibrary
|
Interface class for manipulating animation keys. More...
#include <Animation.h>
Public Types | |
| typedef IInterpolator< KeyType > | Interpolator |
Public Member Functions | |
| 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. | |
| virtual const Key< KeyType > * | GetKey (TimeType time)=0 |
| Return key in given time. | |
| virtual KeySet< KeyType > & | GetKeySet ()=0 |
| Returns KeySet object. | |
Public Member Functions inherited from IAnimation | |
| virtual void | Animate (Object *object, TimelineBase *timeline)=0 |
| virtual void | Animate (Object *object, TimeType time)=0 |
Interface class for manipulating animation keys.
Inherit from this class to specialize parameter addressing method.
|
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 |
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 >.
1.8.9.1