|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jme.scene.Spatial
com.jme.scene.Geometry
com.jme.scene.TriMesh
com.jme.scene.shape.RegularPolyhedron
com.jme.scene.shape.Icosahedron
public class Icosahedron
A regular polyhedron with 20 faces.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.jme.scene.TriMesh |
|---|
TriMesh.Mode |
| Nested classes/interfaces inherited from class com.jme.scene.Spatial |
|---|
Spatial.CullHint, Spatial.LightCombineMode, Spatial.NormalsMode, Spatial.TextureCombineMode |
| Field Summary |
|---|
| Fields inherited from class com.jme.scene.shape.RegularPolyhedron |
|---|
sideLength |
| Fields inherited from class com.jme.scene.TriMesh |
|---|
indexBuffer, mode, triangleQuantity |
| Fields inherited from class com.jme.scene.Geometry |
|---|
binormalBuf, bound, castsShadows, colorBuf, compVect, defaultColor, displayListID, enabled, fogBuf, hasDirtyVertices, normBuf, states, tangentBuf, texBuf, vboInfo, vertBuf, vertQuantity |
| Fields inherited from class com.jme.scene.Spatial |
|---|
cullHint, frustrumIntersects, geometricalControllers, isCollidable, lightCombineMode, localRotation, localScale, localTranslation, LOCKED_BOUNDS, LOCKED_BRANCH, LOCKED_MESH_DATA, LOCKED_NONE, LOCKED_SHADOWS, LOCKED_TRANSFORMS, lockedMode, name, normalsMode, parent, queueDistance, renderQueueMode, renderStateList, textureCombineMode, worldBound, worldRotation, worldScale, worldTranslation, zOrder |
| Constructor Summary | |
|---|---|
Icosahedron()
|
|
Icosahedron(java.lang.String name,
float sideLength)
Creates an Icosahedron (think of 20-sided dice) with center at the origin. |
|
| Method Summary | |
|---|---|
protected void |
doUpdateGeometry()
Update all of the computed information about this polyhedron. |
void |
read(JMEImporter e)
|
void |
write(JMEExporter e)
|
| Methods inherited from class com.jme.scene.shape.RegularPolyhedron |
|---|
getSideLength, updateGeometry |
| Methods inherited from class com.jme.scene.TriMesh |
|---|
clearBuffers, draw, findCollisions, findTriangleCollision, findTrianglePick, getIndexBuffer, getMaxIndex, getMeshAsTriangles, getMeshAsTrianglesVertices, getMode, getTriangle, getTriangle, getTriangleCount, getTriangleIndices, getVertIndex, hasCollision, hasTriangleCollision, randomPointOnTriangles, recalcTriangleQuantity, reconstruct, setIndexBuffer, setMode, setTriangleQuantity |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.jme.util.export.Savable |
|---|
getClassTag |
| Constructor Detail |
|---|
public Icosahedron()
public Icosahedron(java.lang.String name,
float sideLength)
name - The name of the Icosahedron.sideLength - The length of each side of the Icosahedron.| Method Detail |
|---|
protected void doUpdateGeometry()
RegularPolyhedronThis will be automatically called each time the side length is altered.
doUpdateGeometry in class RegularPolyhedron
public void read(JMEImporter e)
throws java.io.IOException
read in interface Savableread in class TriMeshjava.io.IOException
public void write(JMEExporter e)
throws java.io.IOException
write in interface Savablewrite in class TriMeshjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||