|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParticleFactory
Abstract representation of a mechanism to create instances of Particles.
A ParticleFactory is registered with a ParticleSystem and should initialize the fields of the Particle based on the physical entity being modelled (rain, dust, stones etc)
Method Summary | |
---|---|
int |
coordinatesPerParticle()
Request the number of coordinates each particle will use. |
Particle |
createParticle()
Create a new particle instance. |
int |
numColorComponents()
Request the number of color components this particle uses. |
int |
numTexCoordComponents()
Request the number of texture coordinate components this particle uses. |
Method Detail |
---|
int coordinatesPerParticle()
int numColorComponents()
int numTexCoordComponents()
Particle createParticle()
|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |