|
|||||||||||
| 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.Dome
A dome is a half sphere.
| Field Summary | |
Vector3f |
center
The center of the dome |
float |
radius
The radius of the dome |
| Fields inherited from class com.jme.scene.TriMesh |
indices, triangleQuantity |
| Fields inherited from class com.jme.scene.Geometry |
bound, color, colorBuf, normal, normBuf, texBuf, texture, vertBuf, vertex, vertQuantity |
| Fields inherited from class com.jme.scene.Spatial |
currentStates, defaultStateList, forceCull, forceView, frustrumIntersects, geometricalControllers, lightCombineMode, localRotation, localScale, localTranslation, name, parent, queueDistance, renderQueueMode, renderStateList, textureCombineMode, worldBound, worldRotation, worldScale, worldTranslation, zOrder |
| Constructor Summary | |
Dome(java.lang.String name)
Constructs a dome. |
|
Dome(java.lang.String name,
int planes,
int radialSamples,
float radius)
Constructs a dome with center at the origin. |
|
Dome(java.lang.String name,
Vector3f center,
int planes,
int radialSamples,
float radius)
Constructs a dome. |
|
| Method Summary | |
void |
setData(Vector3f center,
int planes,
int radialSamples,
float radius,
boolean updateBuffers,
boolean outsideView)
Changes the information of the dome into the given values. |
| Methods inherited from class com.jme.scene.TriMesh |
clearBuffers, draw, drawBounds, findCollisions, findTriangleCollision, findTrianglePick, findWorldRotMat, getIndexAsBuffer, getIndices, getMeshAsTriangles, getTriangle, getTriangle, getTriangleQuantity, hasCollision, hasTriangleCollision, putClone, reconstruct, setIndexBuffer, setIndices, updateCollisionTree, updateIndexBuffer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public float radius
public Vector3f center
| Constructor Detail |
public Dome(java.lang.String name)
name - The name of the dome.
public Dome(java.lang.String name,
int planes,
int radialSamples,
float radius)
name - Name of dome.planes - The number of planes along the Z-axis.radialSamples - The samples along the radial.radius - Radius of the dome.#dome(java.lang.String, com.jme.math.Vector3f, int, int, float)
public Dome(java.lang.String name,
Vector3f center,
int planes,
int radialSamples,
float radius)
name - Name of the dome.center - Center of the dome.planes - The number of planes along the Z-axis.radialSamples - The number of samples along the radial.radius - The radius of the dome.| Method Detail |
public void setData(Vector3f center,
int planes,
int radialSamples,
float radius,
boolean updateBuffers,
boolean outsideView)
center - The new center of the dome.planes - The number of planes along the Z-axis.radialSamples - The new number of radial samples of the dome.radius - The new radius of the dome.updateBuffers - If true, buffer information is updated as well.outsideView - If true, the triangles will be connected for a view
outside of the dome.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||