Class PxVehicleAutoboxState

java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleAutoboxState

public class PxVehicleAutoboxState extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxVehicleAutoboxState

      protected PxVehicleAutoboxState(long address)
    • PxVehicleAutoboxState

      public PxVehicleAutoboxState()
  • Method Details

    • wrapPointer

      public static PxVehicleAutoboxState wrapPointer(long address)
    • arrayGet

      public static PxVehicleAutoboxState arrayGet(long baseAddress, int index)
    • destroy

      public void destroy()
    • getTimeSinceLastShift

      public float getTimeSinceLastShift()
      Time that has lapsed since the last autobox gear shift.

      Unit: time

    • setTimeSinceLastShift

      public void setTimeSinceLastShift(float value)
      Time that has lapsed since the last autobox gear shift.

      Unit: time

    • getActiveAutoboxGearShift

      public boolean getActiveAutoboxGearShift()
      Describes whether a gear shift triggered by the autobox is still in flight.
    • setActiveAutoboxGearShift

      public void setActiveAutoboxGearShift(boolean value)
      Describes whether a gear shift triggered by the autobox is still in flight.
    • setToDefault

      public void setToDefault()