QAnimationClip Class

class Qt3DAnimation::QAnimationClip

Specifies key frame animation data. More...

Header: #include <QAnimationClip>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3danimation)
target_link_libraries(mytarget PRIVATE Qt6::3danimation)
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)

Protected Functions

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

Detailed Description

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

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

Default constructs an instance of QAnimationClip.

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

Default constructs an instance of QAnimationClip.

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

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

© 2022 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.