内容表

上一话题

Qt3DAnimation.QBlendedClipAnimator

下一话题

Qt3DAnimation.QClock

Qt3DAnimation.QClipAnimator

QClipAnimator is a component providing simple animation playback capabilities. 更多

Inheritance diagram of PySide2.Qt3DAnimation.Qt3DAnimation.QClipAnimator

概要

函数

信号

详细描述

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 特性。

The properties for controlling the animator are provided by the QAbstractClipAnimator 基类。

另请参阅

QAbstractClipAnimator QAbstractAnimationClip QChannelMapper QBlendedClipAnimator

class PySide2.Qt3DAnimation.Qt3DAnimation. QClipAnimator ( [ parent=None ] )
参数

parent QNode

PySide2.Qt3DAnimation.Qt3DAnimation.QClipAnimator. clip ( )
返回类型

QAbstractAnimationClip

另请参阅

setClip()

PySide2.Qt3DAnimation.Qt3DAnimation.QClipAnimator. clipChanged ( clip )
参数

clip QAbstractAnimationClip

PySide2.Qt3DAnimation.Qt3DAnimation.QClipAnimator. setClip ( clip )
参数

clip QAbstractAnimationClip

另请参阅

clip()