Package com.jme3.bullet.util
Class PlaneDmiListener
java.lang.Object
com.jme3.bullet.util.PlaneDmiListener
- All Implemented Interfaces:
DebugMeshInitListener
A DebugMeshInitListener to add texture coordinates to (the debug mesh of) a
PlaneCollisionShape object.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPlaneDmiListener(float sideLength) Instantiate a listener for the specified texture-square size. -
Method Summary
Modifier and TypeMethodDescriptionvoiddebugMeshInit(com.jme3.scene.Mesh debugMesh) Callback from DebugShapeFactory, invoked just after the mesh positions and normals are initialized.
-
Field Details
-
logger
message logger for this class
-
-
Constructor Details
-
PlaneDmiListener
public PlaneDmiListener(float sideLength) Instantiate a listener for the specified texture-square size.- Parameters:
sideLength- the desired side length for each texture square (in physics-space units, >0)
-
-
Method Details
-
debugMeshInit
public void debugMeshInit(com.jme3.scene.Mesh debugMesh) Callback from DebugShapeFactory, invoked just after the mesh positions and normals are initialized.- Specified by:
debugMeshInitin interfaceDebugMeshInitListener- Parameters:
debugMesh- the mesh to be used for visualization (not null)
-