Camera.setLocationDirty()
Type | function |
Library | wattageTileEngine.Camera.* |
Return value | VOID |
Keywords | Wattage, Layer, TileLayer, EntityLayer |
See also |
Overview
This function sets the location dirty flag. This flag is used internally by the engine to determine whether the camera’s position has changed since the last rendering.
NOTE: This function is used internally by the engine.
Syntax
Camera.setLocationDirty( dirty )
dirty (required)
boolean. True to indicate that the camera’s location has been changed.
Examples
-- tileEngineViewControl is an instance of ViewControl
local camera = tileEngineViewControl.getCamera()
camera.setLocationDirty(true)