LightingModel.markChangeInTransparency()
| Type | function |
| Library | wattageTileEngine.LightingModel.* |
| Return value | VOID |
| Keywords | |
| See also |
Overview
This function informs the lighting model of a change in transparency. This may occur by dynamically adding or removing a wall for example. The should be called when transparencies change on tiles.
Syntax
LightingModel.markChangeInTransparency( row, col )
row (required)
Number. Row of the tile.
col (required)
Number. Column of the tile.
Examples
lightingModelInstance.markChangeInTransparency(10, 15)