congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ParticleSystem.destroyParticlesInShape
Code IndexAdd Tabnine to your IDE (free)

How to use
destroyParticlesInShape
method
in
org.jbox2d.particle.ParticleSystem

Best Java code snippets using org.jbox2d.particle.ParticleSystem.destroyParticlesInShape (Showing top 4 results out of 315)

origin: libgdx/libgdx

/**
 * Destroy particles inside a shape. This function is locked during callbacks. In addition, this
 * function immediately destroys particles in the shape in contrast to DestroyParticle() which
 * defers the destruction until the next simulation step.
 * 
 * @param Shape which encloses particles that should be destroyed.
 * @param Transform applied to the shape.
 * @param Whether to call the world b2DestructionListener for each particle destroyed.
 * @warning This function is locked during callbacks.
 * @return Number of particles destroyed.
 */
public int destroyParticlesInShape(Shape shape, Transform xf, boolean callDestructionListener) {
 assert (isLocked() == false);
 if (isLocked()) {
  return 0;
 }
 return m_particleSystem.destroyParticlesInShape(shape, xf, callDestructionListener);
}
origin: jbox2d/jbox2d

/**
 * Destroy particles inside a shape. This function is locked during callbacks. In addition, this
 * function immediately destroys particles in the shape in contrast to DestroyParticle() which
 * defers the destruction until the next simulation step.
 * 
 * @param Shape which encloses particles that should be destroyed.
 * @param Transform applied to the shape.
 * @param Whether to call the world b2DestructionListener for each particle destroyed.
 * @warning This function is locked during callbacks.
 * @return Number of particles destroyed.
 */
public int destroyParticlesInShape(Shape shape, Transform xf, boolean callDestructionListener) {
 assert (isLocked() == false);
 if (isLocked()) {
  return 0;
 }
 return m_particleSystem.destroyParticlesInShape(shape, xf, callDestructionListener);
}
origin: com.github.almasb/fxgl-physics

/**
 * Destroy particles inside a shape. This function is locked during callbacks. In addition, this
 * function immediately destroys particles in the shape in contrast to DestroyParticle() which
 * defers the destruction until the next simulation step. This function is locked during callbacks.
 *
 * @param shape which encloses particles that should be destroyed.
 * @param xf transform applied to the shape.
 * @param callDestructionListener whether to call the world b2DestructionListener for each particle destroyed.
 * @return Number of particles destroyed.
 */
public int destroyParticlesInShape(Shape shape, Transform xf, boolean callDestructionListener) {
  assertNotLocked();
  return particleSystem.destroyParticlesInShape(shape, xf, callDestructionListener);
}
origin: andmizi/MobikeTags

/**
 * Destroy particles inside a shape. This function is locked during callbacks. In addition, this
 * function immediately destroys particles in the shape in contrast to DestroyParticle() which
 * defers the destruction until the next simulation step.
 * 
 * @param Shape which encloses particles that should be destroyed.
 * @param Transform applied to the shape.
 * @param Whether to call the world b2DestructionListener for each particle destroyed.
 * @warning This function is locked during callbacks.
 * @return Number of particles destroyed.
 */
public int destroyParticlesInShape(Shape shape, Transform xf, boolean callDestructionListener) {
 assert (isLocked() == false);
 if (isLocked()) {
  return 0;
 }
 return m_particleSystem.destroyParticlesInShape(shape, xf, callDestructionListener);
}
org.jbox2d.particleParticleSystemdestroyParticlesInShape

Popular methods of ParticleSystem

  • <init>
  • RotateBuffer
  • addContact
  • computeDepthForGroup
  • computeParticleCollisionEnergy
  • computeRelativeTag
  • computeTag
  • createParticle
  • createParticleGroup
  • destroyParticle
  • destroyParticleGroup
  • destroyParticlesInGroup
  • destroyParticleGroup,
  • destroyParticlesInGroup,
  • getCriticalPressure,
  • getCriticalVelocity,
  • getCriticalVelocitySquared,
  • getParticleColorBuffer,
  • getParticleCount,
  • getParticleDamping,
  • getParticleDensity

Popular in Java

  • Making http post requests using okhttp
  • setContentView (Activity)
  • runOnUiThread (Activity)
  • requestLocationUpdates (LocationManager)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now