Some confusion on Animator VS. Animation
-
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.
-
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