|  | 
| LineSelectorDataGetClosestPositionOnLine(Vector2) Method | 
            Gets the Vector3 that represents the closest position of the line segment with index 
LastLinePositionIndex
            to the camera ray that is created from the specified screenPosition.
            This method can be used only when the LineSelectorData was created with a SceneView as a constructor parameter.
            When the camera ray cannot be constructed, then Vector3 with float.NaN is returned.
            
 Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
 Syntax
Syntaxpublic Vector3 GetClosestPositionOnLine(
	Vector2 screenPosition
)
Parameters
- screenPosition  Vector2
- 2D position that will be used to calculate the distance to this line
Return Value
Vector3closest position to the specified screenPosition or Vector3 with float.NaN in case the closest position cannot be calculated
 See Also
See Also