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

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

Introduction

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

The text is from its open source code.

Subclass

com.badlogic.gdx.utils.viewport.Viewport has subclasses.
Click this link to see all its subclasses.

Constructor

Method

intgetBottomGutterHeight()
Returns the bottom gutter (black bar) height in screen coordinates.
CameragetCamera()
intgetLeftGutterWidth()
Returns the left gutter (black bar) width in screen coordinates.
intgetScreenHeight()
intgetScreenWidth()
intgetScreenX()
intgetScreenY()
floatgetWorldHeight()
floatgetWorldWidth()
voidsetWorldSize(float worldWidth, float worldHeight)
Vector2unproject(Vector2 screenCoords)
Transforms the specified screen coordinate to world coordinates.
Vector3unproject(Vector3 screenCoords)
Transforms the specified screen coordinate to world coordinates.
voidupdate(int screenWidth, int screenHeight)
Calls #update(int,int,boolean) with false.