Enum Class PxVehiclePhysXActorUpdateModeEnum

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

public enum PxVehiclePhysXActorUpdateModeEnum extends Enum<PxVehiclePhysXActorUpdateModeEnum>
Determine whether the PhysX actor associated with a vehicle is to be updated with a velocity change or an acceleration change. A velocity change will be immediately reflected in linear and angular velocity queries against the vehicle. An acceleration change, on the other hand, will leave the linear and angular velocities unchanged until the next PhysX scene update has applied the acceleration update to the actor's linear and angular velocities. See also: PxVehiclePhysXActorEndComponent See also: PxVehicleWriteRigidBodyStateToPhysXActor
  • Enum Constant Details

  • Field Details

    • value

      public final int value
  • Method Details

    • values

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