Example usage for Java com.badlogic.gdx.physics.box2d PolygonShape fields, constructors, methods, implement or subclass
The text is from its open source code.
PolygonShape() Constructs a new polygon |
void | getVertex(int index, Vector2 vertex) Returns the vertex at the given position. |
int | getVertexCount() |
void | set(Vector2[] vertices) Copy vertices. |
void | set(float[] vertices) Copy vertices from the given float array. |
void | setAsBox(float hx, float hy) Build vertices to represent an axis-aligned box. |
void | setAsBox(float hx, float hy, Vector2 center, float angle) Build vertices to represent an oriented box. |
void | setRadius(float radius) |