ClipAnimator QML Type

ClipAnimator is a component providing simple animation playback capabilities. More...

Import Statement: import Qt3D.Animation 2.12
Since: Qt 5.9
Instantiates: QClipAnimator

Properties

Detailed Description

An instance of ClipAnimator can be aggregated by an Entity to add the ability to play back animation clips and to apply the calculated animation values to properties of QObjects.

The animation key frame data is provided via the clip property. This can be created programmatically with AnimationClip or loaded from file with AnimationClipLoader.

In order to apply the values played back from the channels of data in the animation clip, the clip animator needs to have a ChannelMapper object assigned to the channelMapper property.

The properties for controlling the animator are provided by the AbstractClipAnimator base class.

See also AbstractClipAnimator, AbstractAnimationClip, ChannelMapper, and BlendedClipAnimator.

Property Documentation

clip : var

This property holds the animation clip which contains the key frame data to be played back. The key frame data can be specified in either an AnimationClip or AnimationClipLoader.


© 2019 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.