| Modifier and Type | Field and Description |
|---|---|
| public final Color | |
| private static Vector2 | |
| private static final Array | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private final Vector2 | |
| public final Color | |
| private static final Array | |
| private static final Vector2 | |
| private final Vector2 | |
| protected ShapeRenderer | renderer
the immediate mode renderer to output our debug drawings |
| public final Color | |
| public final Color | |
| public final Color | |
| public final Color | |
| public final Color | |
| private static Vector2 | |
| private static final Vector2 | |
| private final Vector2 | |
| public final Color | |
| private static final Vector2[] | vertices
vertices for polygon rendering |
| Access | Constructor and Description |
|---|---|
| public | |
| public | Box2DDebugRenderer(boolean drawBodies, boolean drawJoints, boolean drawAABBs, boolean drawInactiveBodies, boolean drawVelocities, boolean drawContacts)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Implements com. Releases all resources of this object. |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public static Vector2 | |
| private Color | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| private void | |
| protected void | |
| public static void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| AABB_COLOR | back to summary |
|---|---|
| public final Color AABB_COLOR | |
| axis | back to summary |
|---|---|
| private static Vector2 axis | |
| bodies | back to summary |
|---|---|
| private static final Array<Body> bodies | |
| drawAABBs | back to summary |
|---|---|
| private boolean drawAABBs | |
| drawBodies | back to summary |
|---|---|
| private boolean drawBodies | |
| drawContacts | back to summary |
|---|---|
| private boolean drawContacts | |
| drawInactiveBodies | back to summary |
|---|---|
| private boolean drawInactiveBodies | |
| drawJoints | back to summary |
|---|---|
| private boolean drawJoints | |
| drawVelocities | back to summary |
|---|---|
| private boolean drawVelocities | |
| f | back to summary |
|---|---|
| private final Vector2 f | |
| JOINT_COLOR | back to summary |
|---|---|
| public final Color JOINT_COLOR | |
| joints | back to summary |
|---|---|
| private static final Array<Joint> joints | |
| lower | back to summary |
|---|---|
| private static final Vector2 lower | |
| lv | back to summary |
|---|---|
| private final Vector2 lv | |
| renderer | back to summary |
|---|---|
| protected ShapeRenderer renderer the immediate mode renderer to output our debug drawings | |
| SHAPE_AWAKE | back to summary |
|---|---|
| public final Color SHAPE_AWAKE | |
| SHAPE_KINEMATIC | back to summary |
|---|---|
| public final Color SHAPE_KINEMATIC | |
| SHAPE_NOT_ACTIVE | back to summary |
|---|---|
| public final Color SHAPE_NOT_ACTIVE | |
| SHAPE_NOT_AWAKE | back to summary |
|---|---|
| public final Color SHAPE_NOT_AWAKE | |
| SHAPE_STATIC | back to summary |
|---|---|
| public final Color SHAPE_STATIC | |
| t | back to summary |
|---|---|
| private static Vector2 t | |
| upper | back to summary |
|---|---|
| private static final Vector2 upper | |
| v | back to summary |
|---|---|
| private final Vector2 v | |
| VELOCITY_COLOR | back to summary |
|---|---|
| public final Color VELOCITY_COLOR | |
| vertices | back to summary |
|---|---|
| private static final Vector2[] vertices vertices for polygon rendering | |
| Box2DDebugRenderer | back to summary |
|---|---|
| public Box2DDebugRenderer() | |
| Box2DDebugRenderer | back to summary |
|---|---|
| public Box2DDebugRenderer(boolean drawBodies, boolean drawJoints, boolean drawAABBs, boolean drawInactiveBodies, boolean drawVelocities, boolean drawContacts) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements com. Doc from com. Releases all resources of this object. | |
| drawAABB | back to summary |
|---|---|
| private void drawAABB(Fixture fixture, Transform transform) | |
| drawContact | back to summary |
|---|---|
| private void drawContact(Contact contact) | |
| drawJoint | back to summary |
|---|---|
| private void drawJoint(Joint joint) | |
| drawSegment | back to summary |
|---|---|
| private void drawSegment(Vector2 x1, Vector2 x2, Color color) | |
| drawShape | back to summary |
|---|---|
| private void drawShape(Fixture fixture, Transform transform, Color color) | |
| drawSolidCircle | back to summary |
|---|---|
| private void drawSolidCircle(Vector2 center, float radius, Vector2 axis, Color color) | |
| drawSolidPolygon | back to summary |
|---|---|
| private void drawSolidPolygon(Vector2[] vertices, int vertexCount, Color color, boolean closed) | |
| getAxis | back to summary |
|---|---|
| public static Vector2 getAxis() | |
| getColorByBody | back to summary |
|---|---|
| private Color getColorByBody(Body body) | |
| isDrawAABBs | back to summary |
|---|---|
| public boolean isDrawAABBs() | |
| isDrawBodies | back to summary |
|---|---|
| public boolean isDrawBodies() | |
| isDrawContacts | back to summary |
|---|---|
| public boolean isDrawContacts() | |
| isDrawInactiveBodies | back to summary |
|---|---|
| public boolean isDrawInactiveBodies() | |
| isDrawJoints | back to summary |
|---|---|
| public boolean isDrawJoints() | |
| isDrawVelocities | back to summary |
|---|---|
| public boolean isDrawVelocities() | |
| render | back to summary |
|---|---|
| public void render(World world, Matrix4 projMatrix) This assumes that the projection matrix has already been set. | |
| renderBodies | back to summary |
|---|---|
| private void renderBodies(World world) | |
| renderBody | back to summary |
|---|---|
| protected void renderBody(Body body) | |
| setAxis | back to summary |
|---|---|
| public static void setAxis(Vector2 axis) | |
| setDrawAABBs | back to summary |
|---|---|
| public void setDrawAABBs(boolean drawAABBs) | |
| setDrawBodies | back to summary |
|---|---|
| public void setDrawBodies(boolean drawBodies) | |
| setDrawContacts | back to summary |
|---|---|
| public void setDrawContacts(boolean drawContacts) | |
| setDrawInactiveBodies | back to summary |
|---|---|
| public void setDrawInactiveBodies(boolean drawInactiveBodies) | |
| setDrawJoints | back to summary |
|---|---|
| public void setDrawJoints(boolean drawJoints) | |
| setDrawVelocities | back to summary |
|---|---|
| public void setDrawVelocities(boolean drawVelocities) | |