Showing the changes to libraries/script-engine/src/SceneScriptingInterface.h (1 of 6 files). Show all
Unified · Split
| @@ -43,7 +43,7 @@ public: · 42 unmodified lines | ||
| 43 | 43 | |
| 44 | 44 | |
| 45 | 45 | Q_INVOKABLE void setSunColor(const glm::vec3& color); |
| 46 | − Q_INVOKABLE const glm::vec3& getSunColor() const; | |
| 46 | + Q_INVOKABLE glm::vec3 getSunColor() const; | |
| 47 | 47 | Q_INVOKABLE void setSunIntensity(float intensity); |
| 48 | 48 | Q_INVOKABLE float getSunIntensity() const; |
| 49 | 49 | Q_INVOKABLE void setSunAmbientIntensity(float intensity); |
| @@ -52,7 +52,7 @@ public: · 2 unmodified lines | ||
| 52 | 52 | // Only valid if stage Earth Sun model is disabled |
| 53 | 53 | Q_INVOKABLE void setSunDirection(const glm::vec3& direction); |
| 54 | 54 | |
| 55 | − Q_INVOKABLE const glm::vec3& getSunDirection() const; | |
| 55 | + Q_INVOKABLE glm::vec3 getSunDirection() const; | |
| 56 | 56 | |
| 57 | 57 | |
| 58 | 58 | |