Camera.isZoomDirty()

   
Type function
Library wattageTileEngine.Camera.*
Return value boolean
Keywords  
See also  

Overview

This function returns true if the camera zoom has been changed since the previous render call. This is used internally by the engine.

Syntax

Camera.isZoomDirty()

Examples

-- tileEngineViewControl is an instance of ViewControl
local camera = tileEngineViewControl.getCamera()
local zoomChanged = camera.isZoomDirty()