Class PxVehicleGearboxState

java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleGearboxState

public class PxVehicleGearboxState extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxVehicleGearboxState

      protected PxVehicleGearboxState(long address)
    • PxVehicleGearboxState

      public PxVehicleGearboxState()
  • Method Details

    • wrapPointer

      public static PxVehicleGearboxState wrapPointer(long address)
    • arrayGet

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

      public void destroy()
    • getCurrentGear

      public int getCurrentGear()
      Returns:
      WebIDL type: unsigned long
    • setCurrentGear

      public void setCurrentGear(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getTargetGear

      public int getTargetGear()
      Returns:
      WebIDL type: unsigned long
    • setTargetGear

      public void setTargetGear(int value)
      Parameters:
      value - WebIDL type: unsigned long
    • getGearSwitchTime

      public float getGearSwitchTime()
      Returns:
      WebIDL type: float
    • setGearSwitchTime

      public void setGearSwitchTime(float value)
      Parameters:
      value - WebIDL type: float
    • setToDefault

      public void setToDefault()