Int32 Clicked(Int32 x, Int32 y)
Transforms clicked point screen coordinate to matrix index.
| # | Name | Description |
|---|---|---|
| 1 | x | Screen x coordinate. |
| 2 | y | Screen y coordinate. |
Returns: Int32 - Clicked point index in 1d values array.
Transforms clicked point screen coordinate to matrix index.
| # | Name | Description |
|---|---|---|
| 1 | x | Screen x coordinate. |
| 2 | y | Screen y coordinate. |
Returns: Int32 - Clicked point index in 1d values array.