Searched refs:imagesX (Results 1 – 4 of 4) sorted by relevance
48 private int imagesX = 1; field in ParticlePointMesh52 public void setImagesXY(int imagesX, int imagesY) { in setImagesXY() argument53 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()
99 private int imagesX = 1; field in ParticleEmitter190 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() argument648 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 …]
50 private int imagesX = 1; field in ParticleTriMesh142 public void setImagesXY(int imagesX, int imagesY) { in setImagesXY() argument143 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()
79 public abstract void setImagesXY(int imagesX, int imagesY); in setImagesXY() argument