rayThroughScreenPoint

open fun rayThroughScreenPoint(x: Double, y: Double, result: Line): Boolean

Computes a Cartesian coordinate ray that passes through a screen point.

Return

the result set to the computed ray in Cartesian coordinates

Parameters

x

the screen point's X coordinate

y

the screen point's Y coordinate

result

a pre-allocated Line in which to return the computed ray