Package com.jme3.environment.util
Class BoundingSphereDebug
java.lang.Object
com.jme3.scene.Mesh
com.jme3.environment.util.BoundingSphereDebug
- All Implemented Interfaces:
Savable
,JmeCloneable
,Cloneable
A debugging shape for a BoundingSphere
Consists of 3 axis aligned circles.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected int
float
the distance from the center point each point falls onprotected int
protected boolean
protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Geometry
createDebugSphere
(AssetManager assetManager) Convenience factory method that creates a debug bounding-sphere geometryfloat
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
-
Field Details
-
vertCount
protected int vertCount -
triCount
protected int triCount -
radialSamples
protected int radialSamples -
useEvenSlices
protected boolean useEvenSlices -
interior
protected boolean interior -
radius
public float radiusthe distance from the center point each point falls on
-
-
Constructor Details
-
BoundingSphereDebug
public BoundingSphereDebug()
-
-
Method Details
-
getRadius
public float getRadius() -
createDebugSphere
Convenience factory method that creates a debug bounding-sphere geometry- Parameters:
assetManager
- the assetManager- Returns:
- the bounding sphere debug geometry.
-