public class ArmatureNode extends Node
Spatial.BatchHint, Spatial.CullHint, Spatial.DFSMode| Modifier and Type | Field and Description |
|---|---|
static float |
PIXEL_BOX |
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 |
|---|
ArmatureNode(Armature armature,
Node joints,
Node wires,
Node outlines,
java.util.List<Joint> deformingJoints)
Creates a wire with bone lengths data.
|
| Modifier and Type | Method and Description |
|---|---|
int |
collideWith(Collidable other,
CollisionResults results)
Check collision with another Collidable.
|
protected void |
createSkeletonGeoms(Joint joint,
Node joints,
Node wires,
Node outlines,
java.util.List<Joint> deformingJoints) |
protected Joint |
getSelectedJoint() |
int |
pick(Vector2f cursor,
CollisionResults results) |
protected Joint |
select(Geometry g) |
void |
setCamera(Camera camera) |
void |
updateGeometry()
The method updates the geometry according to the positions of the bones.
|
protected void |
updateSkeletonGeoms(Joint joint) |
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, updateLogicalState, updateModelBound, updateWorldBound, writeaddControl, 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, worldToLocalpublic static final float PIXEL_BOX
public ArmatureNode(Armature armature, Node joints, Node wires, Node outlines, java.util.List<Joint> deformingJoints)
armature - the armature that will be shownprotected final void createSkeletonGeoms(Joint joint, Node joints, Node wires, Node outlines, java.util.List<Joint> deformingJoints)
public void setCamera(Camera camera)
protected Joint getSelectedJoint()
protected final void updateSkeletonGeoms(Joint joint)
public int pick(Vector2f cursor, CollisionResults results)
public int collideWith(Collidable other, CollisionResults results)
CollidablecollideWith in interface CollidablecollideWith in class Nodeother - The object to check collision againstresults - Will contain the list of CollisionResults.public void updateGeometry()