|
||||||||||
| 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.Node
com.jmex.effects.particles.ParticleSystem
com.jmex.effects.particles.ParticleLines
public class ParticleLines
ParticleLines is a particle system that uses Line as its underlying geometric data.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.jmex.effects.particles.ParticleSystem |
|---|
ParticleSystem.EmitType, ParticleSystem.ParticleType |
| 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.Node |
|---|
children |
| Fields inherited from class com.jme.scene.Spatial |
|---|
collisionBits, cullHint, frustrumIntersects, geometricalControllers, 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 | |
|---|---|
ParticleLines()
|
|
ParticleLines(java.lang.String name,
int numParticles)
|
|
| Method Summary | |
|---|---|
void |
draw(Renderer r)
draw calls the onDraw method for each child maintained by
this node. |
void |
findCollisions(Spatial scene,
CollisionResults results,
int requiredOnBits)
checks this spatial against a second spatial, any collisions are stored in the results object. |
float |
getLineWidth()
|
Line.Mode |
getMode()
|
Line |
getParticleGeometry()
|
ParticleSystem.ParticleType |
getParticleType()
Get which emittype method is being used by the underlying system. |
int |
getStippleFactor()
|
short |
getStipplePattern()
|
boolean |
hasCollision(Spatial scene,
boolean checkTriangles,
int requiredOnBits)
Checks this spatial against a second spatial for collisions. |
protected void |
initializeParticles(int numParticles)
|
boolean |
isAntialiased()
|
void |
setAntialiased(boolean antialiased)
Sets whether the line should be antialiased. |
void |
setLineWidth(float lineWidth)
Sets the width of each line when drawn. |
void |
setMode(Line.Mode mode)
|
void |
setStippleFactor(int stippleFactor)
|
void |
setStipplePattern(short stipplePattern)
The stipple or pattern to use when drawing the particle lines. |
| 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 ParticleLines()
public ParticleLines(java.lang.String name,
int numParticles)
| Method Detail |
|---|
protected void initializeParticles(int numParticles)
initializeParticles in class ParticleSystempublic ParticleSystem.ParticleType getParticleType()
ParticleSystem
getParticleType in class ParticleSystempublic void draw(Renderer r)
Nodedraw calls the onDraw method for each child maintained by
this node.
draw in class Noder - the renderer to draw to.Spatial.draw(com.jme.renderer.Renderer)public Line getParticleGeometry()
getParticleGeometry in class ParticleSystempublic boolean isAntialiased()
public void setAntialiased(boolean antialiased)
antialiased - true if the line should be antialiased.public Line.Mode getMode()
Line.Modepublic void setMode(Line.Mode mode)
mode - Line mode.Line.Modepublic float getLineWidth()
public void setLineWidth(float lineWidth)
lineWidth - The lineWidth to set.public short getStipplePattern()
public void setStipplePattern(short stipplePattern)
stipplePattern - a 16bit short whose bits describe the pattern to use when
drawing this linepublic int getStippleFactor()
public void setStippleFactor(int stippleFactor)
stippleFactor - magnification factor to apply to the stipple pattern.
public void findCollisions(Spatial scene,
CollisionResults results,
int requiredOnBits)
Spatial
findCollisions in class Nodescene - the scene to test against.results - the results of the collisions.requiredOnBits - considered a collision only if these bits are 'on'
in both 'this' and the 'scene' spatial.
public boolean hasCollision(Spatial scene,
boolean checkTriangles,
int requiredOnBits)
Spatial
hasCollision in class Nodescene - the scene to test against.checkTriangles - check for collisions on triangle accuracy levelrequiredOnBits - considered a collision only if these bits are 'on'
in both 'this' and the 'scene' spatial.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||