QClipAnimator#

QClipAnimator is a component providing simple animation playback capabilities. More

Inheritance diagram of PySide6.Qt3DAnimation.Qt3DAnimation.QClipAnimator

Synopsis#

Properties#

Functions#

Slots#

Signals#

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 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 with QAnimationClipLoader .

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 the channelMapper property.

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

See also

QAbstractClipAnimator QAbstractAnimationClip QChannelMapper QBlendedClipAnimator

class PySide6.Qt3DAnimation.Qt3DAnimation.QClipAnimator([parent=None])#
Parameters:

parentPySide6.Qt3DCore.Qt3DCore.QNode

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property PᅟySide6.Qt3DAnimation.Qt3DAnimation.QClipAnimator.clip: PySide6.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 or QAnimationClipLoader .

Access functions:
PySide6.Qt3DAnimation.Qt3DAnimation.QClipAnimator.clip()#
Return type:

PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip

See also

setClip()

Getter of property clip .

PySide6.Qt3DAnimation.Qt3DAnimation.QClipAnimator.clipChanged(clip)#
Parameters:

clipPySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip

Notification signal of property clip .

PySide6.Qt3DAnimation.Qt3DAnimation.QClipAnimator.setClip(clip)#
Parameters:

clipPySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip

See also

clip()

Setter of property clip .