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().

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.12/qt3danimation-qanimationclip.html