Creates a ray to do picking tests, where the origin is on the near plane. This is the same as using
GetWorldCoordinates for (x,y,0) and (x,y,1) and using the normalized difference as the ray's direction.
- screenPos (Vector2)
- Screen position (x,y) and z being the depth (0 - near, 1 - far planes)
Resulting ray
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)