Showing the changes to libraries/script-engine/src/SceneScriptingInterface.h (1 of 6 files). Show all
Unified · Split
| @@ -96,6 +96,10 @@ public: · 95 unmodified lines | ||
| 96 | 96 | void setEngineFeedTransparentItems(int count) { _numFeedTransparentItems = count; } |
| 97 | 97 | Q_INVOKABLE int getEngineNumFeedTransparentItems() { return _numFeedTransparentItems; } |
| 98 | 98 | |
| 99 | + Q_INVOKABLE void setEngineMaxDrawnOpaqueItems(int count) { _maxDrawnOpaqueItems = count; } | |
| 100 | + Q_INVOKABLE int getEngineMaxDrawnOpaqueItems() { return _maxDrawnOpaqueItems; } | |
| 101 | + Q_INVOKABLE void setEngineMaxDrawnTransparentItems(int count) { _maxDrawnTransparentItems = count; } | |
| 102 | + Q_INVOKABLE int getEngineMaxDrawnTransparentItems() { return _maxDrawnTransparentItems; } | |
| 99 | 103 | |
| 100 | 104 | signals: |
| 101 | 105 | void shouldRenderAvatarsChanged(bool shouldRenderAvatars); |
| @@ -120,6 +124,10 @@ protected: · 18 unmodified lines | ||
| 120 | 124 | int _numDrawnOpaqueItems = 0; |
| 121 | 125 | int _numFeedTransparentItems = 0; |
| 122 | 126 | int _numDrawnTransparentItems = 0; |
| 127 | + | |
| 128 | + int _maxDrawnOpaqueItems = -1; | |
| 129 | + int _maxDrawnTransparentItems = -1; | |
| 130 | + | |
| 123 | 131 | }; |
| 124 | 132 | |
| 125 | 133 | #endif // hifi_SceneScriptingInterface_h |