Package com.badlogic.gdx.utils.viewport
-
Class Summary Class Description ExtendViewport A viewport that keeps the world aspect ratio by both scaling and extending the world.FillViewport A ScalingViewport that usesScaling.fillso it keeps the aspect ratio by scaling the world up to take the whole screen (some of the world may be off screen).FitViewport A ScalingViewport that usesScaling.fitso it keeps the aspect ratio by scaling the world up to fit the screen, adding black bars (letterboxing) for the remaining space.ScalingViewport A viewport that scales the world usingScaling.ScreenViewport A viewport where the world size is based on the size of the screen.StretchViewport A ScalingViewport that usesScaling.stretchso it does not keep the aspect ratio, the world is scaled to take the whole screen.Viewport Manages aCameraand determines how world coordinates are mapped to and from the screen.