Enum Class PxParticleFlagEnum

java.lang.Object
java.lang.Enum<PxParticleFlagEnum>
physx.particles.PxParticleFlagEnum
All Implemented Interfaces:
Serializable, Comparable<PxParticleFlagEnum>, Constable

public enum PxParticleFlagEnum extends Enum<PxParticleFlagEnum>
Flags which control the behaviour of a particle system.

See #PxPBDParticleSystem::setParticleFlag(), #PxPBDParticleSystem::setParticleFlags(), #PxPBDParticleSystem::getParticleFlags()

  • Enum Constant Details

    • eDISABLE_SELF_COLLISION

      public static final PxParticleFlagEnum eDISABLE_SELF_COLLISION
      Disables particle self-collision
    • eDISABLE_RIGID_COLLISION

      public static final PxParticleFlagEnum eDISABLE_RIGID_COLLISION
      Disables particle-rigid body collision
    • eFULL_DIFFUSE_ADVECTION

      public static final PxParticleFlagEnum eFULL_DIFFUSE_ADVECTION
      Enables full advection of diffuse particles. By default, diffuse particles are advected only by particles in the cell they are contained. This flag enables full neighbourhood generation (more expensive).
  • Field Details

    • value

      public final int value
  • Method Details

    • values

      public static PxParticleFlagEnum[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PxParticleFlagEnum valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forValue

      public static PxParticleFlagEnum forValue(int value)