Tesla Graphics Engine Documentation (January 2012)
UnProject Method (source, worldMatrix, viewMatrix, projMatrix, result)
TeslaTesla.GraphicsViewportUnProject(Vector3%, Matrix%, Matrix%, Matrix%, Vector3%)
Converts a point in screen space to a point in world space.
Declaration Syntax
C#
public void UnProject(
	ref Vector3 source,
	ref Matrix worldMatrix,
	ref Matrix viewMatrix,
	ref Matrix projMatrix,
	out Vector3 result
)
Parameters
source (Vector3%)
Vector to un-project
worldMatrix (Matrix%)
The world matrix
viewMatrix (Matrix%)
The view matrix
projMatrix (Matrix%)
The projection matrix
result (Vector3%)
Vector3 to hold the result

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)