Showing the changes to libraries/script-engine/src/SceneScriptingInterface.h (1 of 18 files). Show all
Unified · Split
| @@ -118,6 +118,9 @@ public: · 117 unmodified lines | ||
| 118 | 118 | Q_INVOKABLE void setEngineDisplayHitEffect(bool display) { _drawHitEffect = display; } |
| 119 | 119 | Q_INVOKABLE bool doEngineDisplayHitEffect() { return _drawHitEffect; } |
| 120 | 120 | |
| 121 | + Q_INVOKABLE void setEngineToneMappingExposure(float exposure) { _engineToneMappingExposure = exposure; } | |
| 122 | + Q_INVOKABLE float getEngineToneMappingExposure() { return _engineToneMappingExposure; } | |
| 123 | + | |
| 121 | 124 | signals: |
| 122 | 125 | void shouldRenderAvatarsChanged(bool shouldRenderAvatars); |
| 123 | 126 | void shouldRenderEntitiesChanged(bool shouldRenderEntities); |
| @@ -154,6 +157,7 @@ protected: · 30 unmodified lines | ||
| 154 | 157 | |
| 155 | 158 | bool _drawHitEffect = false; |
| 156 | 159 | |
| 160 | + float _engineToneMappingExposure = 0.0f; | |
| 157 | 161 | }; |
| 158 | 162 | |
| 159 | 163 | #endif // hifi_SceneScriptingInterface_h |