Camera.width

   
Type Number
Library wattageTileEngine.Camera.*
Keywords width
See also  

Overview

This property is the width of the camera viewport in tile units.

Example

-- tileEngineViewControl is an instance of ViewControl
local camera = tileEngineViewControl.getCamera()
local cameraTileWidth = camera.width