public class SkeletonWire extends Mesh
Constructor and Description |
---|
SkeletonWire(Skeleton skeleton)
Creates a wire with no length data.
|
SkeletonWire(Skeleton skeleton,
java.util.Map<java.lang.Integer,java.lang.Float> boneLengths)
Creates a wire with bone lengths data.
|
Modifier and Type | Method and Description |
---|---|
void |
updateGeometry()
The method updates the geometry according to the poitions of the bones.
|
addMorphTarget, clearBuffer, clearCollisionData, clone, cloneFields, cloneForAnim, collideWith, createCollisionData, deepClone, extractVertexData, generateBindPose, generateBindPose, getBound, getBuffer, getBufferList, getBuffers, getElementLengths, getFloatBuffer, getId, getIndexBuffer, getIndicesAsList, getInstanceCount, getLineWidth, getLodLevel, getMaxNumWeights, getMode, getModeStart, getMorphIndex, getMorphTarget, getMorphTargetNames, getMorphTargets, getNumLodLevels, getPatchVertexCount, getPointSize, getShortBuffer, getTriangle, getTriangle, getTriangle, getTriangleCount, getTriangleCount, getVertexCount, hasMorphTargets, isAnimated, isAnimatedByBone, isAnimatedByJoint, jmeClone, prepareForAnim, read, removeMorphTarget, removeMorphTarget, scaleTextureCoordinates, setBound, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setBuffer, setDynamic, setElementLengths, setId, setInterleaved, setLineWidth, setLodLevels, setMaxNumWeights, setMode, setModeStart, setPatchVertexCount, setPointSize, setStatic, setStreamed, updateBound, updateCounts, write
public SkeletonWire(Skeleton skeleton)
skeleton
- the skeleton that will be shownpublic SkeletonWire(Skeleton skeleton, java.util.Map<java.lang.Integer,java.lang.Float> boneLengths)
skeleton
- the skeleton that will be shownboneLengths
- a map between the bone's index and the bone's length