public class BulletDebugAppState
extends com.jme3.app.state.AbstractAppState
| Modifier and Type | Class and Description |
|---|---|
static interface |
BulletDebugAppState.DebugAppStateFilter
Interface that allows filtering out objects from the debug display
|
| Modifier and Type | Field and Description |
|---|---|
protected com.jme3.app.Application |
app |
protected com.jme3.asset.AssetManager |
assetManager |
protected java.util.HashMap<PhysicsRigidBody,com.jme3.scene.Spatial> |
bodies |
protected java.util.HashMap<PhysicsCharacter,com.jme3.scene.Spatial> |
characters |
com.jme3.material.Material |
DEBUG_BLUE |
com.jme3.material.Material |
DEBUG_GREEN |
com.jme3.material.Material |
DEBUG_MAGENTA |
com.jme3.material.Material |
DEBUG_PINK |
com.jme3.material.Material |
DEBUG_RED |
com.jme3.material.Material |
DEBUG_YELLOW |
protected BulletDebugAppState.DebugAppStateFilter |
filter |
protected java.util.HashMap<PhysicsGhostObject,com.jme3.scene.Spatial> |
ghosts |
protected java.util.HashMap<PhysicsJoint,com.jme3.scene.Spatial> |
joints |
protected static java.util.logging.Logger |
logger |
protected com.jme3.scene.Node |
physicsDebugRootNode |
protected com.jme3.renderer.RenderManager |
rm |
protected PhysicsSpace |
space |
protected java.util.HashMap<PhysicsVehicle,com.jme3.scene.Spatial> |
vehicles |
protected com.jme3.renderer.ViewPort |
viewPort |
| Constructor and Description |
|---|
BulletDebugAppState(PhysicsSpace space) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
DebugTools |
getNewDebugTools() |
void |
initialize(com.jme3.app.state.AppStateManager stateManager,
com.jme3.app.Application app) |
void |
render(com.jme3.renderer.RenderManager rm) |
void |
setFilter(BulletDebugAppState.DebugAppStateFilter filter) |
void |
update(float tpf) |
protected static final java.util.logging.Logger logger
protected BulletDebugAppState.DebugAppStateFilter filter
protected com.jme3.app.Application app
protected com.jme3.asset.AssetManager assetManager
protected final PhysicsSpace space
protected final com.jme3.scene.Node physicsDebugRootNode
protected com.jme3.renderer.ViewPort viewPort
protected com.jme3.renderer.RenderManager rm
public com.jme3.material.Material DEBUG_BLUE
public com.jme3.material.Material DEBUG_RED
public com.jme3.material.Material DEBUG_GREEN
public com.jme3.material.Material DEBUG_YELLOW
public com.jme3.material.Material DEBUG_MAGENTA
public com.jme3.material.Material DEBUG_PINK
protected java.util.HashMap<PhysicsRigidBody,com.jme3.scene.Spatial> bodies
protected java.util.HashMap<PhysicsJoint,com.jme3.scene.Spatial> joints
protected java.util.HashMap<PhysicsGhostObject,com.jme3.scene.Spatial> ghosts
protected java.util.HashMap<PhysicsCharacter,com.jme3.scene.Spatial> characters
protected java.util.HashMap<PhysicsVehicle,com.jme3.scene.Spatial> vehicles
public BulletDebugAppState(PhysicsSpace space)
public DebugTools getNewDebugTools()
public void setFilter(BulletDebugAppState.DebugAppStateFilter filter)
public void initialize(com.jme3.app.state.AppStateManager stateManager,
com.jme3.app.Application app)
initialize in interface com.jme3.app.state.AppStateinitialize in class com.jme3.app.state.AbstractAppStatepublic void cleanup()
cleanup in interface com.jme3.app.state.AppStatecleanup in class com.jme3.app.state.AbstractAppStatepublic void update(float tpf)
update in interface com.jme3.app.state.AppStateupdate in class com.jme3.app.state.AbstractAppStatepublic void render(com.jme3.renderer.RenderManager rm)
render in interface com.jme3.app.state.AppStaterender in class com.jme3.app.state.AbstractAppState