Package com.jme3.scene.debug
Class WireSphere
java.lang.Object
com.jme3.scene.Mesh
com.jme3.scene.debug.WireSphere
- All Implemented Interfaces:
Savable
,JmeCloneable
,Cloneable
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Create a WireSphere from a BoundingSpherestatic Geometry
makeGeometry
(BoundingSphere bsph) Create a geometry suitable for visualizing the specified bounding sphere.void
updatePositions
(float radius) 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
-
WireSphere
public WireSphere() -
WireSphere
public WireSphere(float radius)
-
-
Method Details
-
updatePositions
public void updatePositions(float radius) -
fromBoundingSphere
Create a WireSphere from a BoundingSphere- Parameters:
bsph
- BoundingSphere used to create the WireSphere
-
makeGeometry
Create a geometry suitable for visualizing the specified bounding sphere.- Parameters:
bsph
- the bounding sphere (not null)- Returns:
- a new Geometry instance in world space
-