| 1 | // Copyright (C) 2016 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 QT3DEXTRAS_QFIRSTPERSONCAMERACONTROLLER_H |
| 5 | #define |
| 6 | |
| 7 | #include <Qt3DExtras/qabstractcameracontroller.h> |
| 8 | |
| 9 | QT_BEGIN_NAMESPACE |
| 10 | |
| 11 | namespace Qt3DExtras { |
| 12 | |
| 13 | class Q_3DEXTRASSHARED_EXPORT : public QAbstractCameraController |
| 14 | { |
| 15 | Q_OBJECT |
| 16 | |
| 17 | public: |
| 18 | explicit (Qt3DCore::QNode *parent = nullptr); |
| 19 | (); |
| 20 | |
| 21 | private: |
| 22 | void (const QAbstractCameraController::InputState &state, float dt) override; |
| 23 | }; |
| 24 | |
| 25 | } // Qt3DExtras |
| 26 | |
| 27 | QT_END_NAMESPACE |
| 28 | |
| 29 | #endif // QT3DEXTRAS_QFIRSTPERSONCAMERACONTROLLER_H |
| 30 | |