AbstractClipAnimator QML Type
AbstractClipAnimator is the base class for types providing animation playback capabilities. More...
Import Statement: | import Qt3D.Animation 2.12 |
Since: | Qt 5.9 |
Instantiates: | QAbstractClipAnimator |
Properties
- loops : int
Detailed Description
Subclasses of AbstractClipAnimator can be aggregated by an Entity to provide animation capabilities. The animator components provide an interface for controlling the animation (e.g. start, stop). Each animator type requires some form of animation data such as an AbstractAnimationClip as well as a ChannelMapper which describes how the channels in the animation clip should be mapped onto the properties of the objects you wish to animate.
The following subclasses are available:
- Qt3D.Animation.ClipAnimator
- Qt3D.Animation.BlendedClipAnimator
Property Documentation
loops : int
This property holds the number of times the animation should play.
By default, loops is 1: the animation will play through once and then stop.
If set to QAbstractClipAnimator::Infinite, the animation will continuously repeat until it is explicitly stopped.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.12/qml-qt3d-animation-abstractclipanimator.html