- All Implemented Interfaces:
Serializable,Comparable<PxParticlePhaseFlagEnum>,Constable
Identifies per-particle behavior for a PxParticleSystem.
See #PxParticleSystem::createPhase().
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBits [20, 23] hold flags about how the particle behaveBits [ 0, 19] represent the particle group for controlling collisionsIf set this particle will interact with particles of the same groupIf 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() -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic PxParticlePhaseFlagEnumforValue(int value) static PxParticlePhaseFlagEnumReturns the enum constant of this class with the specified name.static PxParticlePhaseFlagEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
eParticlePhaseGroupMask
Bits [ 0, 19] represent the particle group for controlling collisions -
eParticlePhaseFlagsMask
Bits [20, 23] hold flags about how the particle behave -
eParticlePhaseSelfCollide
If set this particle will interact with particles of the same group -
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
-
-
Field Details
-
value
public final int value
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
forValue
-