Enum Class PxParticlePhaseFlagEnum

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

public enum PxParticlePhaseFlagEnum extends Enum<PxParticlePhaseFlagEnum>
Identifies per-particle behavior for a PxParticleSystem.

See #PxPBDParticleSystem::createPhase().

  • Enum Constant Details

    • eParticlePhaseGroupMask

      public static final PxParticlePhaseFlagEnum eParticlePhaseGroupMask
      Bits [ 0, 19] represent the particle group for controlling collisions
    • eParticlePhaseFlagsMask

      public static final PxParticlePhaseFlagEnum eParticlePhaseFlagsMask
      Bits [20, 23] hold flags about how the particle behave
    • eParticlePhaseSelfCollide

      public static final PxParticlePhaseFlagEnum eParticlePhaseSelfCollide
      If set this particle will interact with particles of the same group
    • eParticlePhaseSelfCollideFilter

      public static final PxParticlePhaseFlagEnum eParticlePhaseSelfCollideFilter
      If set this particle will ignore collisions with particles closer than the radius in the rest pose, this flag should not be specified unless valid rest positions have been specified using setRestParticles()
    • eParticlePhaseFluid

      public static final PxParticlePhaseFlagEnum eParticlePhaseFluid
  • Field Details

    • value

      public final int value
  • Method Details

    • values

      public static PxParticlePhaseFlagEnum[] 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 PxParticlePhaseFlagEnum 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 PxParticlePhaseFlagEnum forValue(int value)