Class PxVehicleEngineDriveTransmissionCommandState

java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleEngineDriveTransmissionCommandState
Direct Known Subclasses:
PxVehicleTankDriveTransmissionCommandState

public class PxVehicleEngineDriveTransmissionCommandState extends NativeObject
A description of the state of transmission-related commands that are applied to a vehicle with engine drive.
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxVehicleEngineDriveTransmissionCommandState

      protected PxVehicleEngineDriveTransmissionCommandState(long address)
    • PxVehicleEngineDriveTransmissionCommandState

      public PxVehicleEngineDriveTransmissionCommandState()
  • Method Details

    • wrapPointer

      public static PxVehicleEngineDriveTransmissionCommandState wrapPointer(long address)
    • arrayGet

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

      public void destroy()
    • getClutch

      public float getClutch()
      The instantaneous state of the clutch controller in range [0,1] with 1 denoting fully pressed and 0 fully depressed.
    • setClutch

      public void setClutch(float value)
      The instantaneous state of the clutch controller in range [0,1] with 1 denoting fully pressed and 0 fully depressed.
    • getTargetGear

      public int getTargetGear()
      The desired gear of the input gear controller.
    • setTargetGear

      public void setTargetGear(int value)
      The desired gear of the input gear controller.
    • setToDefault

      public void setToDefault()