QAbstractClipAnimator¶

PyQt5.Qt3DAnimation.QAbstractClipAnimator

Inherits from QComponent.

Inherited by QBlendedClipAnimator, QClipAnimator.

Description¶

QAbstractClipAnimator is the base class for types providing animation playback capabilities.

Subclasses of QAbstractClipAnimator can be aggregated by a QEntity to provide animation capabilities. The animator components provide an interface for controlling the animation (e.g. start, stop). Each animator type requires some form of animation data such as a QAbstractAnimationClip as well as a QChannelMapper which describes how the channels in the animation clip should be mapped onto the properties of the objects you wish to animate.

The following subclasses are available:

Enums¶

Loops

Holds the number of times the animation should play.

Member

Value

Description

Infinite

-1

This will repeat the loop continuously until it is explicitly stopped.

Methods¶

__init__(parent: QNode = None)

TODO


channelMapper() → QChannelMapper

See also

setChannelMapper().


clock() → QClock

See also

setClock().


isRunning() → bool

Returns a boolean indicating whether the animation is currently running.


loopCount() → int

Returns the number of times the animation should play.

The value is 1 by default: the animation will play through once and then stop.

If set to Infinite, the animation will continuously repeat until it is explicitly stopped.

See also

setLoopCount().


normalizedTime() → float

sceneChangeEvent(QSceneChange)

TODO


setChannelMapper(QChannelMapper)

See also

channelMapper().


setClock(QClock)

See also

clock().


setLoopCount(int)

See also

loopCount().


setNormalizedTime(float)

See also

normalizedTime().


setRunning(bool)

See also

isRunning().


start()

Starts the animation.


stop()

Stops the animation.

Signals¶

channelMapperChanged(QChannelMapper)

TODO


clockChanged(QClock)

TODO


loopCountChanged(int)

TODO


normalizedTimeChanged(float)

TODO


runningChanged(bool)

TODO