Package com.jme3.scene.debug
Class Arrow
java.lang.Object
com.jme3.scene.Mesh
com.jme3.scene.debug.Arrow
- All Implemented Interfaces:
Savable
,JmeCloneable
,Cloneable
The
Arrow
debug shape represents an arrow.
An arrow is simply a line going from the original toward an extent
and at the tip there will be triangle-like shape.-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class com.jme3.scene.Mesh
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
-
Constructor Details
-
Arrow
protected Arrow()Serialization only. Do not use. -
Arrow
Creates an arrow mesh with the given extent. The arrow will start at the origin (0,0,0) and finish at the given extent.- Parameters:
extent
- Extent of the arrow from origin
-
-
Method Details
-
setArrowExtent
Sets the arrow's extent. This will modify the buffers on the mesh.- Parameters:
extent
- the arrow's extent.
-