public class Line extends Mesh
Modifier | Constructor and Description |
---|---|
protected |
Line()
No-argument constructor needed by SavableClassUtil.
|
|
Line(Vector3f start,
Vector3f end) |
Modifier and Type | Method and Description |
---|---|
Vector3f |
getEnd() |
Vector3f |
getStart() |
void |
read(JmeImporter im) |
protected void |
updateGeometry(Vector3f start,
Vector3f end) |
void |
updatePoints(Vector3f start,
Vector3f end)
Alter the start and end.
|
void |
write(JmeExporter ex) |
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, setPointSize, setStatic, setStreamed, updateBound, updateCounts
public void updatePoints(Vector3f start, Vector3f end)
start
- the desired mesh location of the start (not null,
unaffected)end
- the desired mesh location of the end (not null, unaffected)public Vector3f getEnd()
public Vector3f getStart()
public void write(JmeExporter ex) throws java.io.IOException
public void read(JmeImporter im) throws java.io.IOException