Tesla Graphics Engine Documentation (January 2012)
CreatePickRay Method (screenPos, result)
TeslaTesla.GraphicsCameraCreatePickRay(Vector2%, Ray%)
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
public void CreatePickRay(
	ref Vector2 screenPos,
	out Ray result
screenPos (Vector2%)
Screen position (x,y) and z being the depth (0 - near, 1 - far planes)
result (Ray%)
Ray containing the result

Assembly: Tesla (Module: Tesla) Version: (