Tesla Graphics Engine Documentation (January 2012)
CreatePickRay Method (screenPos)
TeslaTesla.GraphicsICameraCreatePickRay(Vector2)
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
C#
Ray CreatePickRay(
	Vector2 screenPos
)
Parameters
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: 0.5.0.0 (0.5.0.0)