LineOfSightModel.getLineOfSightTransitionValue()
Type | function |
Library | wattageTileEngine.LineOfSightModel.* |
Return value | Number |
Keywords | |
See also |
Overview
This function returns the value of a tile even when in transition. The returned value will be 0 for not in line of sight and 1 for in line of sight. A fractional value represents a transition from one state to another.
Syntax
LineOfSightModel.getLineOfSightTransitionValue( row, column )
row (required)
Number. The row of the tile to get the transition value from.
column (required)
Number. The column of the tile to get the transition value from.
Examples
local value = lineOfSightModelInstance.getLineOfSightTransitionValue(10, 15)