Camera
Introduction
Code Example - Moving the Camera
var camera = SystemManagers.Default.Renderer.Camera;
var mouseState = Mouse.GetState();
camera.X = mouseState.X;
camera.Y = mouseState.Y;
Code Example - Zooming the Camera


Last updated
Was this helpful?

