|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.badlogic.gdx.physics.box2d.Box2DDebugRenderer
public class Box2DDebugRenderer
Field Summary | |
---|---|
SpriteBatch |
batch
a spritebatch and a font for text rendering |
protected ShapeRenderer |
renderer
the immediate mode renderer to output our debug drawings |
Constructor Summary | |
---|---|
Box2DDebugRenderer()
|
Method Summary | |
---|---|
void |
dispose()
|
void |
render(World world,
Matrix4 projMatrix)
This assumes that the projection matrix has already been set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ShapeRenderer renderer
public SpriteBatch batch
Constructor Detail |
---|
public Box2DDebugRenderer()
Method Detail |
---|
public void render(World world, Matrix4 projMatrix)
public void dispose()
|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |