AbstractClipAnimator QML Type

AbstractClipAnimator is the base class for types providing animation playback capabilities. More...

Import Statement: import Qt3D.Animation 2.5
Instantiates: QAbstractClipAnimator
Inherited By:

BlendedClipAnimator and ClipAnimator

Properties

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:

Property Documentation

channelMapper : ChannelMapper

This property holds the ChannelMapper that controls how the channels in the animation clip map onto the properties of the target objects.


clock : Clock

The clock controls the speed with which an animation is played.


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.


normalizedTime : real

This property holds the clips normalized time.


running : bool

This property holds a boolean indicating whether the animation is currently running.


© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.