Tesla Graphics Engine Documentation (January 2012)
Project Method (source, worldMatrix, viewMatrix, projMatrix)
Tesla
►
Tesla.Graphics
►
Viewport
►
Project(Vector3, Matrix, Matrix, Matrix)
C#
Projects a 3D Vector from object space to screen space.
Declaration Syntax
C#
public
Vector3
Project
(
Vector3
source
,
Matrix
worldMatrix
,
Matrix
viewMatrix
,
Matrix
projMatrix
)
Parameters
source
(
Vector3
)
Vector to project
worldMatrix
(
Matrix
)
The world matrix
viewMatrix
(
Matrix
)
The view matrix
projMatrix
(
Matrix
)
The projection matrix
Return Value
The projected vector
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)