Camera.isLayerDirty()
Type | function |
Library | wattageTileEngine.Camera.* |
Return value | boolean |
Keywords | |
See also |
Overviewa
This function returns true if the value of layer has been altered since the previous render call. This is used internally by the engine.
Syntax
Camera.isLayerDirty()
Examples
-- tileEngineViewControl is an instance of ViewControl
local camera = tileEngineViewControl.getCamera()
local layerChanged = camera.isLayerDirty()