Class ParticleDef

java.lang.Object
org.jbox2d.particle.ParticleDef

public class ParticleDef extends Object
  • Field Details

    • position

      public final Vec2 position
      The world position of the particle.
    • velocity

      public final Vec2 velocity
      The linear velocity of the particle in the world co-ordinates.
    • color

      public ParticleColor color
      The color of the particle.
    • userData

      public Object userData
      Use this to store application-specific body data.
  • Constructor Details

    • ParticleDef

      public ParticleDef()