Tesla Graphics Engine Documentation (January 2012)
CreatePickRay Method (screenPos)
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.
Declaration Syntax
Ray CreatePickRay(
	Vector2 screenPos
screenPos (Vector2)
Screen position (x,y) and z being the depth (0 - near, 1 - far planes)
Return Value
Resulting ray

Assembly: Tesla (Module: Tesla) Version: (