Uses of Class
com.badlogic.gdx.utils.viewport.ScalingViewport
-
Packages that use ScalingViewport Package Description com.badlogic.gdx.utils.viewport -
-
Uses of ScalingViewport in com.badlogic.gdx.utils.viewport
Subclasses of ScalingViewport in com.badlogic.gdx.utils.viewport Modifier and Type Class Description class
FillViewport
A ScalingViewport that usesScaling.fill
so it keeps the aspect ratio by scaling the world up to take the whole screen (some of the world may be off screen).class
FitViewport
A ScalingViewport that usesScaling.fit
so it keeps the aspect ratio by scaling the world up to fit the screen, adding black bars (letterboxing) for the remaining space.class
StretchViewport
A ScalingViewport that usesScaling.stretch
so it does not keep the aspect ratio, the world is scaled to take the whole screen.
-