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 | Q_INVOKABLE void setEngineDisplayHitEffect(bool display) { _drawHitEffect = display; } | 118 | Q_INVOKABLE void setEngineDisplayHitEffect(bool display) { _drawHitEffect = display; } |
| 119 | Q_INVOKABLE bool doEngineDisplayHitEffect() { return _drawHitEffect; } | 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 | signals: | 124 | signals: |
| 122 | void shouldRenderAvatarsChanged(bool shouldRenderAvatars); | 125 | void shouldRenderAvatarsChanged(bool shouldRenderAvatars); |
| 123 | void shouldRenderEntitiesChanged(bool shouldRenderEntities); | 126 | void shouldRenderEntitiesChanged(bool shouldRenderEntities); |
| @@ -154,6 +157,7 @@ protected: · 30 unmodified lines | |||
| 154 | 157 | ||
| 155 | bool _drawHitEffect = false; | 158 | bool _drawHitEffect = false; |
| 156 | 159 | ||
| 160 | float _engineToneMappingExposure = 0.0f; | ||
| 157 | }; | 161 | }; |
| 158 | 162 | ||
| 159 | #endif // hifi_SceneScriptingInterface_h | 163 | #endif // hifi_SceneScriptingInterface_h |