- Qt 6.12
- Qt 3D
- QML Types
- Qt3D.Animation (Deprecated)
- AbstractAnimation
- Qt 6.12.0 Reference Documentation

# AbstractAnimation QML Type

An abstract base type for Qt3D animations. More...

Import Statement: | `import Qt3D.Animation 2.12`
In C++: | QAbstractAnimation
Inherited By: | KeyframeAnimation, MorphingAnimation, and VertexBlendAnimation
Status: | Technology preview

This type is in technology preview and is subject to change.

- List of all members, including inherited members

## Properties

- animationName : string
- animationType : enumeration
- duration : real
- position : real

## Detailed Description

AbstractAnimation is an abstract base type for all animations. AbstractAnimation can not be directly instantiated, but rather through its subtypes. AbstractAnimation specifies common properties for all Qt3D animations, such as animation type, current position and animation duration, while leaving the actual animating for the subtypes.

## Property Documentation

### animationName : string

Holds the name of the animation.

### animationType : enumeration `[read-only]`

Holds the type of the animation.

- KeyframeAnimation
- MorphingAnimation
- VertexBlendAnimation

### duration : real `[read-only]`

Holds the duration of the animation.

### position : real

Holds the current position of the animation.