Home
last modified time | relevance | path

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

/external/jmonkeyengine/engine/src/core/com/jme3/effect/
DParticlePointMesh.java49 private int imagesY = 1; field in ParticlePointMesh
52 public void setImagesXY(int imagesX, int imagesY) { in setImagesXY() argument
54 this.imagesY = imagesY; in setImagesXY()
146 int imgY = (p.imageIndex - imgX) / imagesY; in updateParticleData()
149 float startY = ((float) imgY) / imagesY; in updateParticleData()
151 float endY = startY + (1f / imagesY); in updateParticleData()
DParticleEmitter.java100 private int imagesY = 1; field in ParticleEmitter
190 clone.particleMesh.setImagesXY(clone.imagesX, clone.imagesY); in clone()
359 particleMesh.setImagesXY(this.imagesX, this.imagesY); in setNumParticles()
649 particleMesh.setImagesXY(this.imagesX, this.imagesY); in setImagesX()
660 return imagesY; in getImagesY()
671 public void setImagesY(int imagesY) { in setImagesY() argument
672 this.imagesY = imagesY; in setImagesY()
673 particleMesh.setImagesXY(this.imagesX, this.imagesY); in setImagesY()
833 …p.imageIndex = FastMath.nextRandomInt(0, imagesY - 1) * imagesX + FastMath.nextRandomInt(0, images… in emitParticle()
965 p.imageIndex = (int) (b * imagesX * imagesY); in updateParticle()
[all …]
DParticleTriMesh.java51 private int imagesY = 1; field in ParticleTriMesh
142 public void setImagesXY(int imagesX, int imagesY) { in setImagesXY() argument
144 this.imagesY = imagesY; in setImagesXY()
145 if (imagesX != 1 || imagesY != 1){ in setImagesXY()
250 int imgY = (p.imageIndex - imgX) / imagesY; in updateParticleData()
253 float startY = ((float) imgY) / imagesY; in updateParticleData()
255 float endY = startY + (1f / imagesY); in updateParticleData()
DParticleMesh.java79 public abstract void setImagesXY(int imagesX, int imagesY); in setImagesXY() argument