Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Changing playback rate (speed) of Animation at runtime

Changing playback rate (speed) of Animation at runtime

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 364 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jjohnson887
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved