Camera.setZoomDirty()

   
Type function
Library wattageTileEngine.Camera.*
Return value VOID
Keywords Wattage, Layer, TileLayer, EntityLayer
See also  

Overview

This function sets the zoom dirty flag. This flag is used internally by the engine to determine whether the camera’s zoom has changed since the last rendering.

NOTE: This function is used internally by the engine.

Syntax

Camera.setZoomDirty( dirty )
dirty (required)

boolean. True to indicate that the camera’s zoom has been changed.

Examples

-- tileEngineViewControl is an instance of ViewControl
local camera = tileEngineViewControl.getCamera()
camera.setZoomDirty(true)