Home

Awesome

Apos.Camera

Camera library for MonoGame.

Discord

Documentation

Build

NuGet NuGet

Features

Usage samples

IVirtualViewport defaultViewport = new DefaultViewport(GraphicsDevice, Window);
Camera camera = new Camera(defaultViewport);

camera.SetViewport();
spriteBatch.Begin(transformMatrix: camera.View);
// Your draw code.
spriteBatch.End();
camera.ResetViewport();

For a more practical sample project, check the example code.

Other projects you might like