Scaling#fit so it keeps the aspect ratio by scaling the world up to fit the screen, adding
black bars (letterboxing) for the remaining space.
| Access | Constructor and Description |
|---|---|
| public | FitViewport(float worldWidth, float worldHeight)
Creates a new viewport using a new |
| public |
| FitViewport | back to summary |
|---|---|
| public FitViewport(float worldWidth, float worldHeight) Creates a new viewport using a new | |
| FitViewport | back to summary |
|---|---|
| public FitViewport(float worldWidth, float worldHeight, Camera camera) | |