|
j3d.org Aviatrix3D | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectParticleSystem
org.j3d.renderer.aviatrix3d.geom.particle.AVParticleSystem
org.j3d.renderer.aviatrix3d.geom.particle.PointParticleSystem
A ParticleSystem implementation that uses points for representing each particle.
Field Summary |
Fields inherited from class org.j3d.renderer.aviatrix3d.geom.particle.AVParticleSystem |
colors, normals, particleGeometry, sendNewArrays, texCoords, vertices |
Constructor Summary | |
PointParticleSystem(java.lang.String name,
int particleCount,
int numColors)
Create a new particle system using the given particle count, initialiser and environment settings. |
Method Summary | |
int |
coordinatesPerParticle()
Request the number of coordinates each particle will use. |
Particle |
createParticle()
Create a new particle instance. |
PointAttributes |
getRecommendedAttributes()
Get the attributes that the particle system implementation would prefer to have. |
int |
numColorComponents()
Request the number of color components this particle uses. |
int |
numTexCoordComponents()
Request the number of texture coordinate components this particle uses. |
void |
onRemove()
Notification that this particle system has been removed from the scene graph and it cleanup anything needed right now. |
void |
updateNodeBoundsChanges(java.lang.Object src)
Notification that its safe to update the node now with any operations that could potentially effect the node's bounds. |
void |
updateNodeDataChanges(java.lang.Object src)
Notification that its safe to update the node now with any operations that only change the node's properties, but do not change the bounds. |
Methods inherited from class org.j3d.renderer.aviatrix3d.geom.particle.AVParticleSystem |
getNode, initializeArrays, setMaxParticleCount, updateGeometry |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PointParticleSystem(java.lang.String name, int particleCount, int numColors)
name
- A name to register with this system. May be null.particleCount
- The maximum number of particles to createnumColors
- The number of colour components to accept: 0, 3 or 4.Method Detail |
public final int coordinatesPerParticle()
public final int numColorComponents()
public final int numTexCoordComponents()
public Particle createParticle()
public void onRemove()
public void updateNodeBoundsChanges(java.lang.Object src)
src
- The node or Node Component that is to be updated.public void updateNodeDataChanges(java.lang.Object src)
src
- The node or Node Component that is to be updated.public PointAttributes getRecommendedAttributes()
|
j3d.org Aviatrix3D | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |