Get Screen Position

In c++ look at D3DXVec3Project and D3DXVec3Unproject
In managed, look at Vector3.Project or Unproject.

You supply these functions with the current viewport, and the world, view and projection matrices. The return value is the position in world or screen space.
 
Back
Top