Showing the changes to libraries/script-engine/src/SceneScriptingInterface.cpp (1 of 8 files). Show all
Unified · Split
| @@ -128,4 +128,28 @@ void SceneScriptingInterface::setShouldRenderEntities(bool shouldRenderEntities) · 127 unmodified lines | |||
| 128 | _shouldRenderEntities = shouldRenderEntities; | 128 | _shouldRenderEntities = shouldRenderEntities; |
| 129 | emit shouldRenderEntitiesChanged(_shouldRenderEntities); | 129 | emit shouldRenderEntitiesChanged(_shouldRenderEntities); |
| 130 | } | 130 | } |
| 131 | } | 131 | } |
| 132 | |||
| 133 | void SceneScriptingInterface::setEngineRenderOpaque(bool renderOpaque) { | ||
| 134 | _engineRenderOpaque = renderOpaque; | ||
| 135 | } | ||
| 136 | |||
| 137 | void SceneScriptingInterface::setEngineRenderTransparent(bool renderTransparent) { | ||
| 138 | _engineRenderTransparent = renderTransparent; | ||
| 139 | } | ||
| 140 | |||
| 141 | void SceneScriptingInterface::setEngineCullOpaque(bool cullOpaque) { | ||
| 142 | _engineCullOpaque = cullOpaque; | ||
| 143 | } | ||
| 144 | |||
| 145 | void SceneScriptingInterface::setEngineCullTransparent(bool cullTransparent) { | ||
| 146 | _engineCullTransparent = cullTransparent; | ||
| 147 | } | ||
| 148 | |||
| 149 | void SceneScriptingInterface::setEngineSortOpaque(bool sortOpaque) { | ||
| 150 | _engineSortOpaque = sortOpaque; | ||
| 151 | } | ||
| 152 | |||
| 153 | void SceneScriptingInterface::setEngineSortTransparent(bool sortTransparent) { | ||
| 154 | _engineSortOpaque = sortTransparent; | ||
| 155 | } | ||