Camera.pixelWidth
Type | Number |
Library | wattageTileEngine.Camera.* |
Keywords | height |
See also |
Overview
This property is the width of the camera viewport in pixels.
Example
-- tileEngineViewControl is an instance of ViewControl
local camera = tileEngineViewControl.getCamera()
local cameraPixelWidth = camera.pixelWidth