QAbstractClipAnimator Class
(Qt3DAnimation::QAbstractClipAnimator)QAbstractClipAnimator is the base class for types providing animation playback capabilities. 更多...
头文件: | #include <QAbstractClipAnimator> |
qmake: | QT += 3danimation |
开始支持版本: | Qt 5.9 |
Instantiated By: | AbsractClipAnimator |
基类: | Qt3DCore::QComponent |
派生类: | Qt3DAnimation::QBlendedClipAnimator and Qt3DAnimation::QClipAnimator |
公有类型
enum | Loops { Infinite } |
属性
- channelMapper : Qt3DAnimation::QChannelMapper *
- loops : int
- running : bool
- 1 个属性继承自 Qt3DCore::QComponent
- 3 个属性继承自 Qt3DCore::QNode
- 1 个属性继承自 QObject
公有函数
~QAbstractClipAnimator() | |
Qt3DAnimation::QChannelMapper * | channelMapper() const |
bool | isRunning() const |
int | loopCount() const |
- 2 个公有函数继承自 Qt3DCore::QComponent
- 11 个公有函数继承自 Qt3DCore::QNode
- 32 个公有函数继承自 QObject
公有槽函数
void | setChannelMapper(Qt3DAnimation::QChannelMapper *channelMapper) |
void | setLoopCount(int loops) |
void | setRunning(bool running) |
void | start() |
void | stop() |
- 1 个公有槽函数继承自 Qt3DCore::QComponent
- 3 个公有槽函数继承自 Qt3DCore::QNode
- 1 个公有槽函数继承自 QObject
信号
void | channelMapperChanged(Qt3DAnimation::QChannelMapper *channelMapper) |
void | loopCountChanged(int loops) |
void | runningChanged(bool running) |
- 3 个信号继承自 Qt3DCore::QComponent
- 4 个信号继承自 Qt3DCore::QNode
- 2 个信号继承自 QObject
受保护的函数
QAbstractClipAnimator(Qt3DCore::QNode *parent = nullptr) | |
QAbstractClipAnimator(QAbstractClipAnimatorPrivate &dd, Qt3DCore::QNode *parent = nullptr) |
- 2 个受保护的函数继承自 Qt3DCore::QNode
- 9 个受保护的函数继承自 QObject
其他继承的成员
详细描述
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:
属性
channelMapper : Qt3DAnimation::QChannelMapper *
访问函数:
Qt3DAnimation::QChannelMapper * | channelMapper() const |
void | setChannelMapper(Qt3DAnimation::QChannelMapper *channelMapper) |
Notifier signal:
void | channelMapperChanged(Qt3DAnimation::QChannelMapper *channelMapper) |
loops : int
访问函数:
int | loopCount() const |
void | setLoopCount(int loops) |
Notifier signal:
void | loopCountChanged(int loops) |
running : bool
访问函数:
bool | isRunning() const |
void | setRunning(bool running) |
Notifier signal:
void | runningChanged(bool running) |
成员函数
[protected]
QAbstractClipAnimator::QAbstractClipAnimator(Qt3DCore::QNode *parent = nullptr)
Default constructs an instance of QAbstractClipAnimator.
[protected]
QAbstractClipAnimator::QAbstractClipAnimator(QAbstractClipAnimatorPrivate &dd, Qt3DCore::QNode *parent = nullptr)
Copy constructor.
QAbstractClipAnimator::~QAbstractClipAnimator()
Destroys the instance of QAbstractClipAnimator.
[slot]
void QAbstractClipAnimator::start()
Starts the animation.
[slot]
void QAbstractClipAnimator::stop()
Stops the animation.