com.jme.util
Class BoneDebugger

java.lang.Object
  extended by com.jme.util.BoneDebugger

public final class BoneDebugger
extends java.lang.Object

BoneDebugger is responsible for visually representing a skeletal system (a heirarchy of Bone nodes). To visualize the skeleton, a Bone is represented as a red sphere and the connection between bones as a white cylinder. Additionally, hardpoints are presented as green boxes. Standard usage requires the passing in of the model that contains a skeleton to the drawBones method. This method will render the bones on screen as required.

See Also:
Bone

Constructor Summary
BoneDebugger()
           
 
Method Summary
static void drawBones(Spatial spat, Renderer r)
           
static void drawBones(Spatial spat, Renderer r, boolean drawChildren)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoneDebugger

public BoneDebugger()
Method Detail

drawBones

public static void drawBones(Spatial spat,
                             Renderer r)

drawBones

public static void drawBones(Spatial spat,
                             Renderer r,
                             boolean drawChildren)