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_QCLIPBLENDVALUE_H
5#define QT3DANIMATION_QCLIPBLENDVALUE_H
6
7#include <Qt3DAnimation/qt3danimation_global.h>
8#include <Qt3DAnimation/qabstractclipblendnode.h>
9
10QT_BEGIN_NAMESPACE
11
12namespace Qt3DAnimation {
13
14class QClipBlendValuePrivate;
15
16class Q_3DANIMATIONSHARED_EXPORT QClipBlendValue : public Qt3DAnimation::QAbstractClipBlendNode
17{
18 Q_OBJECT
19 Q_PROPERTY(Qt3DAnimation::QAbstractAnimationClip *clip READ clip WRITE setClip NOTIFY clipChanged)
20
21public:
22 explicit QClipBlendValue(Qt3DCore::QNode *parent = nullptr);
23 explicit QClipBlendValue(Qt3DAnimation::QAbstractAnimationClip *clip,
24 Qt3DCore::QNode *parent = nullptr);
25 ~QClipBlendValue();
26
27 Qt3DAnimation::QAbstractAnimationClip *clip() const;
28
29public Q_SLOTS:
30 void setClip(Qt3DAnimation::QAbstractAnimationClip *clip);
31
32Q_SIGNALS:
33 void clipChanged(Qt3DAnimation::QAbstractAnimationClip *clip);
34
35protected:
36 explicit QClipBlendValue(QClipBlendValuePrivate &dd, Qt3DCore::QNode *parent = nullptr);
37
38private:
39 Q_DECLARE_PRIVATE(QClipBlendValue)
40};
41
42} // namespace Qt3DAnimation
43
44QT_END_NAMESPACE
45
46#endif // QT3DANIMATION_QCLIPBLENDVALUE_H
47

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