public class SkeletonPoints extends Mesh
Modifier | Constructor and Description |
---|---|
protected |
SkeletonPoints()
For serialization only.
|
|
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 |
read(JmeImporter importer)
De-serializes from the specified importer, for example when loading from
a J3O file.
|
void |
updateGeometry()
The method updates the geometry according to the positions of the bones.
|
void |
write(JmeExporter exporter)
Serializes to the specified exporter, for example when saving to a J3O
file.
|
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, 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
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 lengthprotected SkeletonPoints()
public void updateGeometry()
public void read(JmeImporter importer) throws java.io.IOException
public void write(JmeExporter exporter) throws java.io.IOException