Class BoundingSphereDebug

java.lang.Object
com.jme3.scene.Mesh
com.jme3.environment.util.BoundingSphereDebug
All Implemented Interfaces:
Savable, JmeCloneable, Cloneable

public class BoundingSphereDebug extends Mesh
A debugging shape for a BoundingSphere Consists of 3 axis aligned circles.
  • Field Details

    • vertCount

      protected int vertCount
    • triCount

      protected int triCount
    • radialSamples

      protected int radialSamples
    • useEvenSlices

      protected boolean useEvenSlices
    • interior

      protected boolean interior
    • radius

      public float radius
      the distance from the center point each point falls on
  • Constructor Details

    • BoundingSphereDebug

      public BoundingSphereDebug()
  • Method Details

    • getRadius

      public float getRadius()
    • createDebugSphere

      public static Geometry createDebugSphere(AssetManager assetManager)
      Convenience factory method that creates a debug bounding-sphere geometry
      Parameters:
      assetManager - the assetManager
      Returns:
      the bounding sphere debug geometry.