Tesla Graphics Engine Documentation (January 2012)
UnProject Method (source, worldMatrix, viewMatrix, projMatrix)
TeslaTesla.GraphicsViewportUnProject(Vector3, Matrix, Matrix, Matrix)
Converts a point in screen space to a point in world space.
Declaration Syntax
C#
public Vector3 UnProject(
	Vector3 source,
	Matrix worldMatrix,
	Matrix viewMatrix,
	Matrix projMatrix
)
Parameters
source (Vector3)
Vector to un-project
worldMatrix (Matrix)
The world matrix
viewMatrix (Matrix)
The view matrix
projMatrix (Matrix)
The projection matrix
Return Value
The un-projected vector

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