Home
last modified time | relevance | path

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

/external/jmonkeyengine/engine/src/core/com/jme3/effect/
DParticlePointMesh.java48 private int imagesX = 1; field in ParticlePointMesh
52 public void setImagesXY(int imagesX, int imagesY) { in setImagesXY() argument
53 this.imagesX = imagesX; in setImagesXY()
145 int imgX = p.imageIndex % imagesX; in updateParticleData()
148 float startX = ((float) imgX) / imagesX; in updateParticleData()
150 float endX = startX + (1f / imagesX); in updateParticleData()
DParticleEmitter.java99 private int imagesX = 1; field in ParticleEmitter
190 clone.particleMesh.setImagesXY(clone.imagesX, clone.imagesY); in clone()
359 particleMesh.setImagesXY(this.imagesX, this.imagesY); in setNumParticles()
635 return imagesX; in getImagesX()
647 public void setImagesX(int imagesX) { in setImagesX() argument
648 this.imagesX = imagesX; in setImagesX()
649 particleMesh.setImagesXY(this.imagesX, this.imagesY); in setImagesX()
673 particleMesh.setImagesXY(this.imagesX, this.imagesY); in setImagesY()
833 ….imageIndex = FastMath.nextRandomInt(0, imagesY - 1) * imagesX + FastMath.nextRandomInt(0, imagesX in emitParticle()
965 p.imageIndex = (int) (b * imagesX * imagesY); in updateParticle()
[all …]
DParticleTriMesh.java50 private int imagesX = 1; field in ParticleTriMesh
142 public void setImagesXY(int imagesX, int imagesY) { in setImagesXY() argument
143 this.imagesX = imagesX; in setImagesXY()
145 if (imagesX != 1 || imagesY != 1){ in setImagesXY()
249 int imgX = p.imageIndex % imagesX; in updateParticleData()
252 float startX = ((float) imgX) / imagesX; in updateParticleData()
254 float endX = startX + (1f / imagesX); in updateParticleData()
DParticleMesh.java79 public abstract void setImagesXY(int imagesX, int imagesY); in setImagesXY() argument