diff options
Diffstat (limited to 'src/render/lights/qspotlight.h')
-rw-r--r-- | src/render/lights/qspotlight.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/render/lights/qspotlight.h b/src/render/lights/qspotlight.h index 9a04b7925..edba764cc 100644 --- a/src/render/lights/qspotlight.h +++ b/src/render/lights/qspotlight.h @@ -57,12 +57,13 @@ public: QVector3D direction() const; float cutOffAngle() const; +public Q_SLOTS: void setDirection(const QVector3D &direction); void setCutOffAngle(float cutOffAngle); Q_SIGNALS: - void directionChanged(); - void cutOffAngleChanged(); + void directionChanged(const QVector3D &direction); + void cutOffAngleChanged(float cutOffAngle); protected: QSpotLight(QSpotLightPrivate &dd, Qt3DCore::QNode *parent = 0); |