How to update an animation speed on the fly

Hi everybody!
I like to modify on the fly my AIS_Animation object play speed.
The animation is started by StartTimer() method which also sets the initial play speed.
In my app user interface I have implemented a Slider Control to increase and decrease the animation play speed.
I do not know how and where to modify this parameter value after the animation is started.
Can you give me some help, please?
Thank you!

Kirill Gavrilov's picture
Handle(AIS_Animation) theAnim = ...;
theAnim->Timer()->SetPlaybackSpeed (0.5);

?

bioan m's picture

Excellent!
Thank you! Thank you! Thank you!