screenPointToRay
Deprecated
Use view.screenToRay(x,y)
Replace with
view.screenToRay(x,y)
Content copied to clipboard
Calculates a ray in world space going from the near-plane of the camera and going through a point in screen space.
Screen space is in Android device screen coordinates: TopLeft = (0, 0), BottomRight = (Screen Width, Screen Height). The device coordinate space is unaffected by the orientation of the device.
Parameters
x
X position in device screen coordinates.
y
Y position in device screen coordinates.