Uses of Class
com.badlogic.gdx.utils.viewport.Viewport

Packages that use Viewport
com.badlogic.gdx.scenes.scene2d   
com.badlogic.gdx.utils.viewport   
 

Uses of Viewport in com.badlogic.gdx.scenes.scene2d
 

Methods in com.badlogic.gdx.scenes.scene2d that return Viewport
 Viewport Stage.getViewport()
           
 

Methods in com.badlogic.gdx.scenes.scene2d with parameters of type Viewport
 void Stage.setViewport(Viewport viewport)
           
 

Constructors in com.badlogic.gdx.scenes.scene2d with parameters of type Viewport
Stage(Viewport viewport)
          Creates a stage with the specified viewport.
Stage(Viewport viewport, Batch batch)
          Creates a stage with the specified Viewport and Batch.
 

Uses of Viewport in com.badlogic.gdx.utils.viewport
 

Subclasses of Viewport in com.badlogic.gdx.utils.viewport
 class ExtendViewport
          A viewport that keeps the world aspect ratio by extending the world in one direction.
 class FillViewport
          A ScalingViewport that uses Scaling.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 uses 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.
 class ScalingViewport
          A viewport that scales the world using Scaling.
 class ScreenViewport
          A viewport where the world size is based on the size of the screen.
 class StretchViewport
          A ScalingViewport that uses Scaling.stretch so it does not keep the aspect ratio, the world is scaled to take the whole screen.
 



Copyright © 2014. All Rights Reserved.