Class PxVehiclePhysXMaterialFriction

java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehiclePhysXMaterialFriction

public class PxVehiclePhysXMaterialFriction extends NativeObject
A mapping between PxMaterial and a friction value to be used by the tire model.
See Also:
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxVehiclePhysXMaterialFriction

      protected PxVehiclePhysXMaterialFriction(long address)
    • PxVehiclePhysXMaterialFriction

      public PxVehiclePhysXMaterialFriction()
  • Method Details

    • wrapPointer

      public static PxVehiclePhysXMaterialFriction wrapPointer(long address)
    • arrayGet

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

      public void destroy()
    • getMaterial

      public PxMaterial getMaterial()
      A PxMaterial instance that is to be mapped to a friction value.
    • setMaterial

      public void setMaterial(PxMaterial value)
      A PxMaterial instance that is to be mapped to a friction value.
    • getFriction

      public float getFriction()
      A friction value that is to be mapped to a PxMaterial instance. Note: friction must have value greater than or equal to zero.

      Range: [0, inf)

    • setFriction

      public void setFriction(float value)
      A friction value that is to be mapped to a PxMaterial instance. Note: friction must have value greater than or equal to zero.

      Range: [0, inf)

    • isValid

      public boolean isValid()
      Returns:
      WebIDL type: boolean