QAnimationClip Class

(Qt3DAnimation::QAnimationClip)

Specifies key frame animation data. More...

Header: #include <QAnimationClip>
qmake: QT += 3danimation
Inherits: Qt3DAnimation::QAbstractAnimationClip

Properties

  • clipData : Qt3DAnimation::QAnimationClipData

Public Functions

QAnimationClip(Qt3DCore::QNode *parent = nullptr)
virtual ~QAnimationClip()
Qt3DAnimation::QAnimationClipData clipData() const

Public Slots

void setClipData(const Qt3DAnimation::QAnimationClipData &clipData)

Signals

void clipDataChanged(Qt3DAnimation::QAnimationClipData clipData)

Static Public Members

const QMetaObject staticMetaObject
  • 9 static public members inherited from QObject

Protected Functions

QAnimationClip(Qt3DAnimation::QAnimationClipPrivate &dd, Qt3DCore::QNode *parent = nullptr)

Detailed Description

Specifies key frame animation data.

Property Documentation

clipData : Qt3DAnimation::QAnimationClipData

Access functions:

Qt3DAnimation::QAnimationClipData clipData() const
void setClipData(const Qt3DAnimation::QAnimationClipData &clipData)

Notifier signal:

void clipDataChanged(Qt3DAnimation::QAnimationClipData clipData)

Member Function Documentation

QAnimationClip::QAnimationClip(Qt3DCore::QNode *parent = nullptr)

Default constructs an instance of QAnimationClip.

[protected] QAnimationClip::QAnimationClip(Qt3DAnimation::QAnimationClipPrivate &dd, Qt3DCore::QNode *parent = nullptr)

Default constructs an instance of QAnimationClip.

[virtual] QAnimationClip::~QAnimationClip()

Destroys the instance of QAnimationClip. The destructor is virtual.

Qt3DAnimation::QAnimationClipData QAnimationClip::clipData() const

Returns the data describing the animation clip.

Note: Getter function for property clipData.

See also setClipData().

[slot] void QAnimationClip::setClipData(const Qt3DAnimation::QAnimationClipData &clipData)

Set the parameters of the clip according to the clipData provided.

Note: Setter function for property clipData.

See also clipData().

© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.