AspectRatio
Introduction
Code Example
SpriteManager.AddSprite("redball.bmp");
// Notice the ScaleX and ScaleY are not changed
// but changing the AspectRatio makes the ball appear
// wider.
Camera.Main.AspectRatio = .3f; // smaller makes things look wider
Last updated
Was this helpful?