Java com.badlogic.gdx.graphics.g2d PolygonRegion fields, constructors, methods, implement or subclass

Example usage for Java com.badlogic.gdx.graphics.g2d PolygonRegion fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.badlogic.gdx.graphics.g2d PolygonRegion.

The text is from its open source code.

Constructor

PolygonRegion(TextureRegion region, float[] vertices, short[] triangles)
Creates a PolygonRegion by triangulating the polygon coordinates in vertices and calculates uvs based on that.

Method

TextureRegiongetRegion()
float[]getTextureCoords()
short[]getTriangles()
float[]getVertices()
Returns the vertices in local space.