ClassDescriptionA viewport that keeps the world aspect ratio by extending the world in one direction.A ScalingViewport that uses
Scaling.fillso it keeps the aspect ratio by scaling the world up to take the whole screen (some of the world may be off screen).A ScalingViewport that uses
Scaling.fitso it keeps the aspect ratio by scaling the world up to fit the screen, adding black bars (letterboxing) for the remaining space.A viewport that scales the world using
Scaling.A viewport where the world size is based on the size of the screen.A ScalingViewport that uses
Scaling.stretchso it does not keep the aspect ratio, the world is scaled to take the whole screen.Manages a
Cameraand determines how world coordinates are mapped to and from the screen.