Example usage for Java com.badlogic.gdx.graphics.g2d PolygonRegion fields, constructors, methods, implement or subclass
The text is from its open source code.
PolygonRegion(TextureRegion region, float[] vertices, short[] triangles) Creates a PolygonRegion by triangulating the polygon coordinates in vertices and calculates uvs based on that. |
TextureRegion | getRegion() |
float[] | getTextureCoords() |
short[] | getTriangles() |
float[] | getVertices() Returns the vertices in local space. |