Class PxVehicleDifferentialState

java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleDifferentialState

public class PxVehicleDifferentialState extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxVehicleDifferentialState

      protected PxVehicleDifferentialState(long address)
    • PxVehicleDifferentialState

      public PxVehicleDifferentialState()
  • Method Details

    • wrapPointer

      public static PxVehicleDifferentialState wrapPointer(long address)
    • arrayGet

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

      public void destroy()
    • getConnectedWheels

      public int getConnectedWheels(int index)
      Parameters:
      index - Array index
      Returns:
      WebIDL type: unsigned long
    • setConnectedWheels

      public void setConnectedWheels(int index, int value)
      Parameters:
      index - Array index
      value - WebIDL type: unsigned long
    • getNbConnectedWheels

      public int getNbConnectedWheels()
      The number of wheels that are connected to the differential.
    • setNbConnectedWheels

      public void setNbConnectedWheels(int value)
      The number of wheels that are connected to the differential.
    • getTorqueRatiosAllWheels

      public float getTorqueRatiosAllWheels(int index)
      Parameters:
      index - Array index
      Returns:
      WebIDL type: float
    • setTorqueRatiosAllWheels

      public void setTorqueRatiosAllWheels(int index, float value)
      Parameters:
      index - Array index
      value - WebIDL type: float
    • getAveWheelSpeedContributionAllWheels

      public float getAveWheelSpeedContributionAllWheels(int index)
      Parameters:
      index - Array index
      Returns:
      WebIDL type: float
    • setAveWheelSpeedContributionAllWheels

      public void setAveWheelSpeedContributionAllWheels(int index, float value)
      Parameters:
      index - Array index
      value - WebIDL type: float
    • setToDefault

      public void setToDefault()