
Untitled
By: a guest on
May 6th, 2012 | syntax:
C# | size: 0.38 KB | hits: 17 | expires: Never
spriteBatch.Begin();
spriteBatch.Draw(
texture : texture,
position : new Vector2(
(Window.ClientBounds.Width / 2) - (texture.Width / 2),
(Window.ClientBounds.Height / 2) - (texture.Height / 2)),
color : Color.White,
layerDepth : 0);
spriteBatch.End();