public class SkeletonPoints extends Mesh
Constructor and Description |
---|
SkeletonPoints(Skeleton skeleton)
Creates a points with no length data.
|
SkeletonPoints(Skeleton skeleton,
java.util.Map<java.lang.Integer,java.lang.Float> boneLengths)
Creates a points with bone lengths data.
|
Modifier and Type | Method and Description |
---|---|
void |
updateGeometry()
The method updates the geometry according to the positions 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, setStatic, setStreamed, updateBound, updateCounts, write
public SkeletonPoints(Skeleton skeleton)
skeleton
- the skeleton that will be shownpublic SkeletonPoints(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