Projects a 3D vector from object space into screen space.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
public Vector3 Project (
Vector3 source,
Matrix projection,
Matrix view,
Matrix world
)
Parameters
- source
- The vector to project.
- projection
- The projection matrix.
- view
- The view matrix.
- world
- The world matrix.
Return Value
The vector in screen space.
Tasks
Reference
Xbox 360, Windows XP SP2, Windows Vista, Zune