public class ArmatureDebugger extends Node
Spatial.BatchHint, Spatial.CullHint, Spatial.DFSMode
batchHint, controls, cullHint, frustrumIntersects, key, localLights, localOverrides, localTransform, name, parent, queueBucket, queueDistance, refreshFlags, RF_BOUND, RF_CHILD_LIGHTLIST, RF_LIGHTLIST, RF_MATPARAM_OVERRIDE, RF_TRANSFORM, shadowMode, userData, worldBound, worldLights, worldOverrides, worldTransform
Constructor and Description |
---|
ArmatureDebugger() |
ArmatureDebugger(java.lang.String name,
Armature armature,
java.util.List<Joint> deformingJoints)
Creates a debugger with no length data.
|
Modifier and Type | Method and Description |
---|---|
int |
collideWith(Collidable other,
CollisionResults results)
Check collision with another Collidable.
|
void |
displayNonDeformingJoint(boolean display) |
Armature |
getArmature() |
ArmatureNode |
getBoneShapes() |
ArmatureInterJointsWire |
getInterJointWires() |
void |
initialize(AssetManager assetManager,
Camera camera) |
protected Joint |
select(Geometry g) |
void |
updateLogicalState(float tpf)
updateLogicalState calls the update() method
for all controls attached to this Spatial. |
attachChild, attachChildAt, breadthFirstTraversal, clone, cloneFields, deepClone, depthFirstTraversal, descendantMatches, descendantMatches, descendantMatches, detachAllChildren, detachChild, detachChildAt, detachChildNamed, getChild, getChild, getChildIndex, getChildren, getQuantity, getTriangleCount, getVertexCount, hasChild, oldDeepClone, read, setLightListRefresh, setLodLevel, setMaterial, setMatParamOverrideRefresh, setModelBound, setParent, setTransformRefresh, swapChildren, updateGeometricState, updateModelBound, updateWorldBound, write
addControl, addLight, addMatParamOverride, breadthFirstTraversal, center, checkCulling, clearMatParamOverrides, clone, depthFirstTraversal, forceRefresh, getBatchHint, getControl, getControl, getCullHint, getKey, getLastFrustumIntersection, getLocalBatchHint, getLocalCullHint, getLocalLightList, getLocalMatParamOverrides, getLocalQueueBucket, getLocalRotation, getLocalScale, getLocalShadowMode, getLocalToWorldMatrix, getLocalTransform, getLocalTranslation, getName, getNumControls, getParent, getQueueBucket, getShadowMode, getUserData, getUserDataKeys, getWorldBound, getWorldLightList, getWorldMatParamOverrides, getWorldRotation, getWorldScale, getWorldTransform, getWorldTranslation, hasAncestor, jmeClone, localToWorld, lookAt, matches, move, move, oldClone, removeControl, removeControl, removeFromParent, removeLight, removeMatParamOverride, rotate, rotate, rotateUpTo, runControlRender, scale, scale, setBatchHint, setBoundRefresh, setCullHint, setKey, setLastFrustumIntersection, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalScale, setLocalTransform, setLocalTranslation, setLocalTranslation, setName, setQueueBucket, setRequiresUpdates, setShadowMode, setUserData, toString, updateMatParamOverrides, updateWorldLightList, updateWorldTransforms, worldToLocal
public ArmatureDebugger()
public ArmatureDebugger(java.lang.String name, Armature armature, java.util.List<Joint> deformingJoints)
name
- the name of the debugger's nodearmature
- the armature that will be showndeformingJoints
- a list of jointspublic void displayNonDeformingJoint(boolean display)
public void initialize(AssetManager assetManager, Camera camera)
public Armature getArmature()
public void updateLogicalState(float tpf)
Spatial
updateLogicalState
calls the update()
method
for all controls attached to this Spatial.updateLogicalState
in class Node
tpf
- Time per frame.Spatial.addControl(com.jme3.scene.control.Control)
public int collideWith(Collidable other, CollisionResults results)
Collidable
collideWith
in interface Collidable
collideWith
in class Node
other
- The object to check collision againstresults
- Will contain the list of CollisionResult
s.public ArmatureNode getBoneShapes()
public ArmatureInterJointsWire getInterJointWires()