QClipAnimator¶
QClipAnimator
is a component providing simple animation playback capabilities. More…
![Inheritance diagram of PySide2.Qt3DAnimation.Qt3DAnimation.QClipAnimator](../../_images/inheritance-0ff1ed50d8522a1e2c09b4744d73fc2038375f36.png)
Synopsis¶
Functions¶
def
clip
()
Slots¶
def
setClip
(clip)
Signals¶
def
clipChanged
(clip)
Detailed Description¶
An instance of
QClipAnimator
can be aggregated by a QEntity 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
QAnimationClip
or loaded from file withQAnimationClipLoader
.In order to apply the values played back from the channels of data in the animation clip, the clip animator needs to have a
QChannelMapper
object assigned to thechannelMapper
property.The properties for controlling the animator are provided by the
QAbstractClipAnimator
base class.See also
QAbstractClipAnimator
QAbstractAnimationClip
QChannelMapper
QBlendedClipAnimator
- class PySide2.Qt3DAnimation.Qt3DAnimation.QClipAnimator([parent=None])¶
- Parameters:
parent –
PySide2.Qt3DCore.Qt3DCore.QNode
- PySide2.Qt3DAnimation.Qt3DAnimation.QClipAnimator.clip()¶
-
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 a
QAnimationClip
orQAnimationClipLoader
.
- PySide2.Qt3DAnimation.Qt3DAnimation.QClipAnimator.clipChanged(clip)¶
- Parameters:
clip –
PySide2.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip
- PySide2.Qt3DAnimation.Qt3DAnimation.QClipAnimator.setClip(clip)¶
- Parameters:
clip –
PySide2.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip
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 a
QAnimationClip
orQAnimationClipLoader
.
© 2022 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.