DestinationRectangle
Introduction
Code Example
SpriteManager.AddSprite("redball.bmp");
Camera.Main.LeftDestination = 100;
Camera.Main.TopDestination = 200;
// We'll leave the bottom and right to their default values (the edges of the window)
Camera.Main.BackgroundColor = Microsoft.Xna.Framework.Graphics.Color.Blue;
Last updated
Was this helpful?