Package physx.physics

Enum Class PxArticulationCacheFlagEnum

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

public enum PxArticulationCacheFlagEnum extends Enum<PxArticulationCacheFlagEnum>
These flags determine what data is read or written to the internal articulation data via cache.

See also: PxArticulationCache PxArticulationReducedCoordinate::copyInternalStateToCache PxArticulationReducedCoordinate::applyCache

  • Enum Constant Details

    • eVELOCITY

      public static final PxArticulationCacheFlagEnum eVELOCITY
      The joint velocities, see PxArticulationCache::jointVelocity.
    • eACCELERATION

      public static final PxArticulationCacheFlagEnum eACCELERATION
      The joint accelerations, see PxArticulationCache::jointAcceleration.
    • ePOSITION

      public static final PxArticulationCacheFlagEnum ePOSITION
      The joint positions, see PxArticulationCache::jointPosition.
    • eFORCE

      public static final PxArticulationCacheFlagEnum eFORCE
      The joint forces, see PxArticulationCache::jointForce.
    • eROOT_TRANSFORM

      public static final PxArticulationCacheFlagEnum eROOT_TRANSFORM
      Root link transform, see PxArticulationCache::rootLinkData.
    • eROOT_VELOCITIES

      public static final PxArticulationCacheFlagEnum eROOT_VELOCITIES
      Root link velocities (read/write) and accelerations (read), see PxArticulationCache::rootLinkData.
    • eSENSOR_FORCES

      public static final PxArticulationCacheFlagEnum eSENSOR_FORCES
      The spatial sensor forces, see PxArticulationCache::sensorForces.
    • eJOINT_SOLVER_FORCES

      public static final PxArticulationCacheFlagEnum eJOINT_SOLVER_FORCES
      Solver constraint joint forces, see PxArticulationCache::jointSolverForces.
    • eALL

      public static final PxArticulationCacheFlagEnum eALL
  • Field Details

    • value

      public final int value
  • Method Details

    • values

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