PySide6.Qt3DAnimation.Qt3DAnimation.QClipAnimator¶
- class QClipAnimator¶
QClipAnimatoris a component providing simple animation playback capabilities. More…Synopsis¶
Properties¶
Methods¶
def
__init__()def
clip()
Slots¶
def
setClip()
Signals¶
def
clipChanged()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
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 the channelMapper property.The properties for controlling the animator are provided by the
QAbstractClipAnimatorbase class.See also
QAbstractClipAnimatorQAbstractAnimationClipQChannelMapperQBlendedClipAnimatorNote
Properties can be used directly when
from __feature__ import true_propertyis used or via accessor functions otherwise.- property clipᅟ: 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.- Access functions:
Signal
clipChanged()
- __init__([parent=None])¶
- Parameters:
parent –
QNode
- clip()¶
- Return type:
QAbstractAnimationClip
See also
setClip()
Getter of property
clipᅟ.- clipChanged(clip)¶
- Parameters:
clip –
QAbstractAnimationClip
Notification signal of property
clipᅟ.- setClip(clip)¶
- Parameters:
clip –
QAbstractAnimationClip
See also
clip()
Setter of property
clipᅟ.