Package physx.physics

Enum Class PxQueryFlagEnum

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

public enum PxQueryFlagEnum extends Enum<PxQueryFlagEnum>
Filtering flags for scene queries.

See also: PxQueryFilterData.flags

  • Enum Constant Details

    • eSTATIC

      public static final PxQueryFlagEnum eSTATIC
      Traverse static shapes
    • eDYNAMIC

      public static final PxQueryFlagEnum eDYNAMIC
      Traverse dynamic shapes
    • ePREFILTER

      public static final PxQueryFlagEnum ePREFILTER
      Run the pre-intersection-test filter (see #PxQueryFilterCallback::preFilter())
    • ePOSTFILTER

      public static final PxQueryFlagEnum ePOSTFILTER
      Run the post-intersection-test filter (see #PxQueryFilterCallback::postFilter())
    • eANY_HIT

      public static final PxQueryFlagEnum eANY_HIT
      Abort traversal as soon as any hit is found and return it via callback.block.
    • eNO_BLOCK

      public static final PxQueryFlagEnum eNO_BLOCK
      All hits are reported as touching. Overrides eBLOCK returned from user filters with eTOUCH.
  • Field Details

    • value

      public final int value
  • Method Details

    • values

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