QAnimationClip Class | Qt 3D 5.12.8

Qt 5.12 | Qt 3D | C++ Classes | QAnimationClip

Qt 5.12.8 Reference Documentation

# QAnimationClip Class

(Qt3DAnimation::QAnimationClip)

Specifies key frame animation data. More...

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

- List of all members, including inherited members
- Obsolete members

## Properties

- clipData : Qt3DAnimation::QAnimationClipData

- 1 property inherited from Qt3DAnimation::QAbstractAnimationClip
- 3 properties inherited from Qt3DCore::QNode
- 1 property inherited from QObject

## Public Functions

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

- 1 public function inherited from Qt3DAnimation::QAbstractAnimationClip
- 13 public functions inherited from Qt3DCore::QNode
- 31 public functions inherited from QObject

## Public Slots

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

- 3 public slots inherited from Qt3DCore::QNode
- 1 public slot inherited from QObject

## Signals

void | clipDataChanged(Qt3DAnimation::QAnimationClipData clipData)

- 1 signal inherited from Qt3DAnimation::QAbstractAnimationClip
- 4 signals inherited from Qt3DCore::QNode
- 2 signals inherited from QObject

## Static Public Members

const QMetaObject | staticMetaObject

- 9 static public members inherited from QObject

## Protected Functions

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

- 2 protected functions inherited from Qt3DCore::QNode
- 9 protected functions inherited from QObject

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