public class PointParticleSystem extends AVParticleSystem
Internationalisation Resource Names
colors, normals, particleGeometry, sendNewArrays, texCoords, vertices| Constructor and Description |
|---|
PointParticleSystem(String name,
int particleCount,
int numColors)
Create a new particle system using the given particle count, initialiser
and environment settings.
|
| Modifier and Type | Method and Description |
|---|---|
int |
coordinatesPerParticle()
Request the number of coordinates each particle will use.
|
org.j3d.geom.particle.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(Object src)
Notification that its safe to update the node now with any operations
that could potentially effect the node's bounds.
|
void |
updateNodeDataChanges(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.
|
getNode, initializeArrays, setMaxParticleCount, updateGeometryaddParticleFunction, enableParticleCreation, enableTextureCoordinates, getMaxParticleCount, getParticleInitializer, getSystemName, initialize, insertParticleFunction, isParticleCreationEnabled, isTextureCoordinateEnabled, removeParticleFunction, setErrorReporter, setParticleInitializer, setSystemName, setTexCoordFunction, updatepublic PointParticleSystem(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.IllegalArgumentException - The number of colour components was not
in the acceptable set of values.public final int coordinatesPerParticle()
public final int numColorComponents()
public final int numTexCoordComponents()
public org.j3d.geom.particle.Particle createParticle()
public void onRemove()
onRemove in class org.j3d.geom.particle.ParticleSystempublic void updateNodeBoundsChanges(Object src)
src - The node or Node Component that is to be updated.public void updateNodeDataChanges(Object src)
src - The node or Node Component that is to be updated.public PointAttributes getRecommendedAttributes()
Copyright © 2001 - 2015 j3d.org