Changing playback rate (speed) of Animation at runtime



  • I have a number of different animations (NumberAnimation, PathAnimation).
    I want to start animations at defined time (with few ms accuracy). Also animation should by in sync with current system time.
    So to achieve the second goal I decided to adjust the speed of animation after it has been started by periodically compare system time and animation start time.
    So now I need to control playback rate of animation (scaling factor) from QML after it has been started. How can I do it?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.