QClipAnimator¶
QClipAnimatoris a component providing simple animation playback capabilities. More…

Synopsis¶
Functions¶
def
clip()
Slots¶
def
setClip(clip)
Signals¶
def
clipChanged(clip)
Detailed Description¶
An instance of
QClipAnimatorcan 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
QAnimationClipor 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
QChannelMapperobject assigned to thechannelMapperproperty.The properties for controlling the animator are provided by the
QAbstractClipAnimatorbase class.See also
QAbstractClipAnimatorQAbstractAnimationClipQChannelMapperQBlendedClipAnimator
- 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
QAnimationCliporQAnimationClipLoader.
- 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
QAnimationCliporQAnimationClipLoader.
© 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.