aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@digia.com>2013-09-30 15:33:57 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-03 16:18:44 +0200
commitfcde8e7f6c7d65cde066bc5f6f06726ce33cb609 (patch)
treea06bb003cfc8c696702a1e033cea915ae6db9026 /src/quick
parent661e624121004dd73467300e467aacae6d8d2f66 (diff)
Animator overview docs and example.
Change-Id: If0852e48dbbfea4fadca9c897ea0e62393763055 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/quick')
-rw-r--r--src/quick/doc/src/concepts/statesanimations/topic.qdoc19
1 files changed, 19 insertions, 0 deletions
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