From fcde8e7f6c7d65cde066bc5f6f06726ce33cb609 Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Mon, 30 Sep 2013 15:33:57 +0200 Subject: Animator overview docs and example. Change-Id: If0852e48dbbfea4fadca9c897ea0e62393763055 Reviewed-by: Jerome Pasion --- .../doc/src/concepts/statesanimations/topic.qdoc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/quick') diff --git a/src/quick/doc/src/concepts/statesanimations/topic.qdoc b/src/quick/doc/src/concepts/statesanimations/topic.qdoc index cb154a0370..e294b5325e 100644 --- a/src/quick/doc/src/concepts/statesanimations/topic.qdoc +++ b/src/quick/doc/src/concepts/statesanimations/topic.qdoc @@ -115,6 +115,25 @@ result in undefined behavior occurring. Please see the documentation about \l{qtquick-statesanimations-behaviors.html} {using Qt Quick Behaviors with States} for more information about this topic. +\section1 Animators + +The \l Animator types are a special type of animation which bypass +the QML objects and operate directly on the primitives in the +\l {Qt Quick Scene Graph}{scene graph}. This has the benefit that +the Animator based animations can be run on the scene graph's rendering thread +(when applicable) and can continue to animate even when UI is otherwise +blocked. + +Qt Quick provides the following Animator types: +\list +\li \l {XAnimator} - Animates the horizontal position of an \l {Item}. +\li \l {YAnimator} - Animates the vertical position of an \l {Item}. +\li \l {ScaleAnimator} - Animates the scale factor of an \l {Item}. +\li \l {RotationAnimator} - Animates the rotation of an \l {Item}. +\li \l {OpacityAnimator} - Animates the opacity of an \l {Item}. +\li \l {UniformAnimator} - Animates a uniform in a \l {ShaderEffect}. +\endlist + \section1 Animated Sprites The concept of animated sprites is separate to the concept of animations as -- cgit v1.2.3