Converts point in screen coordinates into the local control's space Input location of the point to convert Converted point location in local control's space
(Float2 location)
| 1322 | /// <param name="location">Input location of the point to convert</param> |
| 1323 | /// <returns>Converted point location in local control's space</returns> |
| 1324 | public virtual Float2 PointFromScreen(Float2 location) |
| 1325 | { |
| 1326 | if (_parent != null) |
| 1327 | { |
| 1328 | location = _parent.PointFromScreen(location); |
| 1329 | } |
| 1330 | return PointFromParent(ref location); |
| 1331 | } |
| 1332 | |
| 1333 | #if FLAX_EDITOR |
| 1334 | /// <summary> |
no outgoing calls
no test coverage detected