Java com.badlogic.gdx.utils.viewport ScreenViewport fields, constructors, methods, implement or subclass

Example usage for Java com.badlogic.gdx.utils.viewport ScreenViewport fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.badlogic.gdx.utils.viewport ScreenViewport.

The text is from its open source code.

Constructor

ScreenViewport(Camera camera)
ScreenViewport()
Creates a new viewport using a new OrthographicCamera .

Method

voidsetUnitsPerPixel(float unitsPerPixel)
Sets the number of pixels for each world unit.