Class PxVehiclePhysXMaterialFrictionParams

java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehiclePhysXMaterialFrictionParams

public class PxVehiclePhysXMaterialFrictionParams extends NativeObject
A mappping between PxMaterial instance and friction for multiple PxMaterial intances.
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxVehiclePhysXMaterialFrictionParams

      protected PxVehiclePhysXMaterialFrictionParams()
    • PxVehiclePhysXMaterialFrictionParams

      protected PxVehiclePhysXMaterialFrictionParams(long address)
  • Method Details

    • wrapPointer

      public static PxVehiclePhysXMaterialFrictionParams wrapPointer(long address)
    • arrayGet

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

      public void destroy()
    • getMaterialFrictions

      public PxVehiclePhysXMaterialFriction getMaterialFrictions()
      An array of mappings between PxMaterial and friction.
    • setMaterialFrictions

      public void setMaterialFrictions(PxVehiclePhysXMaterialFriction value)
      An array of mappings between PxMaterial and friction.
    • getNbMaterialFrictions

      public int getNbMaterialFrictions()
      The number of mappings between PxMaterial and friction.
    • setNbMaterialFrictions

      public void setNbMaterialFrictions(int value)
      The number of mappings between PxMaterial and friction.
    • getDefaultFriction

      public float getDefaultFriction()
      A default friction value to be used in the event that the PxMaterial under the tire is not found in the array #materialFrictions.
    • setDefaultFriction

      public void setDefaultFriction(float value)
      A default friction value to be used in the event that the PxMaterial under the tire is not found in the array #materialFrictions.
    • isValid

      public boolean isValid()
      Returns:
      WebIDL type: boolean