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. Some confusion on Animator VS. Animation
Forum Updated to NodeBB v4.3 + New Features

Some confusion on Animator VS. Animation

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 1 Posters 1.1k Views 1 Watching
  • 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.
  • jiancaiyangJ Offline
    jiancaiyangJ Offline
    jiancaiyang
    wrote on last edited by
    #1

    Qt Quick 2.5 introduces Animator, according to the document, Animator works on Scene Graph rendering thread whilst Animation does not, apart from this, is there any other differences between them? Is there any sample code to explain their differences? Thanks.

    我们自己的论坛:http://qtdream.com
    擅长三维角色仿真动画。

    1 Reply Last reply
    1
    • jiancaiyangJ Offline
      jiancaiyangJ Offline
      jiancaiyang
      wrote on last edited by
      #2

      From aknight's opinion:

      i would say the docs are pretty comprehensive. if you want more, check the source. animators only adjust values that are fed into shaders, and they don't sync their state with the gui thread while running

      1. use an animator where you can 2) use it when you don't need to read the values it is animating 3) use it when you know the gui thread might be blocked while it's animating

      我们自己的论坛:http://qtdream.com
      擅长三维角色仿真动画。

      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