Some confusion on Animator VS. Animation
-
wrote on 4 Jul 2015, 04:01 last edited by
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.
-
wrote on 10 Jul 2015, 17:13 last edited by
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
- 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
1/2