1// Copyright (C) 2017 Klaralvdalens Datakonsult AB (KDAB).
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QT3DANIMATION_QANIMATIONASPECT_H
5#define QT3DANIMATION_QANIMATIONASPECT_H
6
7#include <Qt3DAnimation/qt3danimation_global.h>
8#include <Qt3DCore/qabstractaspect.h>
9
10QT_BEGIN_NAMESPACE
11
12namespace Qt3DAnimation {
13
14class QAnimationAspectPrivate;
15
16class Q_3DANIMATIONSHARED_EXPORT QAnimationAspect : public Qt3DCore::QAbstractAspect
17{
18 Q_OBJECT
19public:
20 explicit QAnimationAspect(QObject *parent = nullptr);
21 ~QAnimationAspect();
22
23private:
24 std::vector<Qt3DCore::QAspectJobPtr> jobsToExecute(qint64 time) override;
25
26 Q_DECLARE_PRIVATE(QAnimationAspect)
27 explicit QAnimationAspect(QAnimationAspectPrivate &dd, QObject *parent);
28};
29
30} // namespace Qt3DAnimation
31
32QT_END_NAMESPACE
33
34#endif // QT3DANIMATION_QANIMATIONASPECT_H
35

source code of qt3d/src/animation/frontend/qanimationaspect.h