Home
last modified time | relevance | path

Searched refs:numParticles (Results 1 – 4 of 4) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/effect/
DParticlePointMesh.java58 public void initParticleData(ParticleEmitter emitter, int numParticles) { in initParticleData() argument
64 FloatBuffer pb = BufferUtils.createVector3Buffer(numParticles); in initParticleData()
77 ByteBuffer cb = BufferUtils.createByteBuffer(numParticles * 4); in initParticleData()
90 FloatBuffer sb = BufferUtils.createFloatBuffer(numParticles); in initParticleData()
102 FloatBuffer tb = BufferUtils.createFloatBuffer(numParticles*4); in initParticleData()
DParticleTriMesh.java58 public void initParticleData(ParticleEmitter emitter, int numParticles) { in initParticleData() argument
63 particlesCopy = new Particle[numParticles]; in initParticleData()
66 FloatBuffer pb = BufferUtils.createVector3Buffer(numParticles * 4); in initParticleData()
79 ByteBuffer cb = BufferUtils.createByteBuffer(numParticles * 4 * 4); in initParticleData()
93 FloatBuffer tb = BufferUtils.createVector2Buffer(numParticles * 4); in initParticleData()
96 for (int i = 0; i < numParticles; i++){ in initParticleData()
113 ShortBuffer ib = BufferUtils.createShortBuffer(numParticles * 6); in initParticleData()
114 for (int i = 0; i < numParticles; i++){ in initParticleData()
DParticleEmitter.java195 public ParticleEmitter(String name, Type type, int numParticles) { in ParticleEmitter() argument
229 this.setNumParticles(numParticles); in ParticleEmitter()
352 public final void setNumParticles(int numParticles) { in setNumParticles() argument
353 particles = new Particle[numParticles]; in setNumParticles()
354 for (int i = 0; i < numParticles; i++) { in setNumParticles()
1135 int numParticles = ic.readInt("numParticles", 0); in read() local
1170 this.setNumParticles(numParticles); in read()
DParticleMesh.java72 public abstract void initParticleData(ParticleEmitter emitter, int numParticles); in initParticleData() argument