QClipAnimator Class
(Qt3DAnimation::QClipAnimator)QClipAnimator is a component providing simple animation playback capabilities. 更多...
头文件: | #include <QClipAnimator> |
qmake: | QT += 3danimation |
开始支持版本: | Qt 5.9 |
Instantiated By: | ClipAnimator |
基类: | Qt3DAnimation::QAbstractClipAnimator |
属性
- clip : Qt3DAnimation::QAbstractAnimationClip *
- 3 个属性继承自 Qt3DAnimation::QAbstractClipAnimator
- 1 个属性继承自 Qt3DCore::QComponent
- 3 个属性继承自 Qt3DCore::QNode
- 1 个属性继承自 QObject
公有函数
QClipAnimator(Qt3DCore::QNode *parent = nullptr) | |
~QClipAnimator() | |
Qt3DAnimation::QAbstractAnimationClip * | clip() const |
- 3 个公有函数继承自 Qt3DAnimation::QAbstractClipAnimator
- 2 个公有函数继承自 Qt3DCore::QComponent
- 11 个公有函数继承自 Qt3DCore::QNode
- 32 个公有函数继承自 QObject
公有槽函数
void | setClip(Qt3DAnimation::QAbstractAnimationClip *clip) |
- 5 个公有槽函数继承自 Qt3DAnimation::QAbstractClipAnimator
- 1 个公有槽函数继承自 Qt3DCore::QComponent
- 3 个公有槽函数继承自 Qt3DCore::QNode
- 1 个公有槽函数继承自 QObject
信号
void | clipChanged(Qt3DAnimation::QAbstractAnimationClip *clip) |
- 3 个信号继承自 Qt3DAnimation::QAbstractClipAnimator
- 3 个信号继承自 Qt3DCore::QComponent
- 4 个信号继承自 Qt3DCore::QNode
- 2 个信号继承自 QObject
其他继承的成员
- 1 个公有变量继承自 QObject
- 10 个静态公有成员继承自 QObject
- 2 个受保护的函数继承自 Qt3DCore::QNode
- 9 个受保护的函数继承自 QObject
- 2 个受保护的变量继承自 QObject
详细描述
QClipAnimator is a component providing simple animation playback capabilities.
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.
参见 QAbstractClipAnimator, QAbstractAnimationClip, QChannelMapper, and QBlendedClipAnimator.