/** * Destroy particles inside a shape without enabling the destruction callback for destroyed * particles. This function is locked during callbacks. For more information see * DestroyParticleInShape(Shape&, Transform&,bool). * This function is locked during callbacks. * * @param shape which encloses particles that should be destroyed. * @param xf transform applied to the shape. * @return Number of particles destroyed. */ public int destroyParticlesInShape(Shape shape, Transform xf) { return destroyParticlesInShape(shape, xf, false); }
/** * Destroy particles inside a shape without enabling the destruction callback for destroyed * particles. This function is locked during callbacks. For more information see * DestroyParticleInShape(Shape&, Transform&,bool). * This function is locked during callbacks. * * @param shape which encloses particles that should be destroyed. * @param xf transform applied to the shape. * @return Number of particles destroyed. */ public int destroyParticlesInShape(Shape shape, Transform xf) { return destroyParticlesInShape(shape, xf, false); }