Package physx.physics

Enum Class PxPairFilteringModeEnum

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

public enum PxPairFilteringModeEnum extends Enum<PxPairFilteringModeEnum>
  • Enum Constant Details

    • eKEEP

      public static final PxPairFilteringModeEnum eKEEP
      Output pair from BP, potentially send to user callbacks, create regular interaction object.

      Enable contact pair filtering between kinematic/static or kinematic/kinematic rigid bodies.

      By default contacts between these are suppressed (see #PxFilterFlag::eSUPPRESS) and don't get reported to the filter mechanism. Use this mode if these pairs should go through the filtering pipeline nonetheless.

      Note: This mode is not mutable, and must be set in PxSceneDesc at scene creation.

    • eSUPPRESS

      public static final PxPairFilteringModeEnum eSUPPRESS
      Output pair from BP, create interaction marker. Can be later switched to regular interaction.
    • eKILL

      public static final PxPairFilteringModeEnum eKILL
      Don't output pair from BP. Cannot be later switched to regular interaction, needs "resetFiltering" call.
    • eDEFAULT

      public static final PxPairFilteringModeEnum eDEFAULT
      Default is eSUPPRESS for compatibility with previous PhysX versions.
  • Field Details

    • value

      public final int value
  • Method Details

    • values

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