Class PlaneDmiListener

java.lang.Object
com.jme3.bullet.util.PlaneDmiListener
All Implemented Interfaces:
DebugMeshInitListener

public class PlaneDmiListener extends Object implements DebugMeshInitListener
A DebugMeshInitListener to add texture coordinates to (the debug mesh of) a PlaneCollisionShape object.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Logger
    message logger for this class
  • Constructor Summary

    Constructors
    Constructor
    Description
    PlaneDmiListener(float sideLength)
    Instantiate a listener for the specified texture-square size.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    debugMeshInit(com.jme3.scene.Mesh debugMesh)
    Callback from DebugShapeFactory, invoked just after the mesh positions and normals are initialized.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • logger

      public static final Logger 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:
      debugMeshInit in interface DebugMeshInitListener
      Parameters:
      debugMesh - the mesh to be used for visualization (not null)