XNA正交投影矩阵原点在左上角


// projection uses CreateOrthographicOffCenter to create 2d projection
// matrix with 0,0 in the upper left.
basicEffect.Projection = Matrix.CreateOrthographicOffCenter
    (0, GraphicsDevice.Viewport.Width,
    GraphicsDevice.Viewport.Height, 0,
    0, 1);
摘自XNA教学路径绘制

你可能感兴趣的:(游戏开发,.Net,Framework技术,Windows,Phone,7)