AbstractAnimation QML Type

An abstract base type for Qt3D animations 更多...

Import Statement: import Qt3D.Animation 2.0
开始支持版本: Qt 5.9
Instantiates: QAbstractAnimation
派生类:

KeyframeAnimation, MorphingAnimation, and VertexBlendAnimation

属性

详细描述

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.

属性

animationName : string

Holds the name of the animation.


animationType : enumeration

Holds the type of the animation.


duration : real

Holds the duration of the animation.


position : real

Holds the current position of the animation.