diff options
Diffstat (limited to 'src/render/lights/qdirectionallight.h')
-rw-r--r-- | src/render/lights/qdirectionallight.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/render/lights/qdirectionallight.h b/src/render/lights/qdirectionallight.h index c2af37ea5..bffb601a5 100644 --- a/src/render/lights/qdirectionallight.h +++ b/src/render/lights/qdirectionallight.h @@ -53,11 +53,13 @@ class QT3DRENDERSHARED_EXPORT QDirectionalLight : public QLight public: explicit QDirectionalLight(Qt3DCore::QNode *parent = 0); - void setDirection(const QVector3D &direction); QVector3D direction() const; +public Q_SLOTS: + void setDirection(const QVector3D &direction); + Q_SIGNALS: - void directionChanged(); + void directionChanged(const QVector3D &direction); protected: QDirectionalLight(QDirectionalLightPrivate &dd, Qt3DCore::QNode *parent = 0); |