Package physx.vehicle
Class PxVehicleDrivableSurfaceToTireFrictionPairs
- java.lang.Object
-
- physx.NativeObject
-
- physx.vehicle.PxVehicleDrivableSurfaceToTireFrictionPairs
-
public class PxVehicleDrivableSurfaceToTireFrictionPairs extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isStackAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxVehicleDrivableSurfaceToTireFrictionPairs()protectedPxVehicleDrivableSurfaceToTireFrictionPairs(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PxVehicleDrivableSurfaceToTireFrictionPairsallocate(int maxNbTireTypes, int maxNbSurfaceTypes)intgetMaxNbSurfaceTypes()intgetMaxNbTireTypes()floatgetTypePairFriction(int surfaceType, int tireType)voidrelease()voidsetTypePairFriction(int surfaceType, int tireType, float value)voidsetup(int nbTireTypes, int nbSurfaceTypes, PxMaterialPtr drivableSurfaceMaterials, PxVehicleDrivableSurfaceType drivableSurfaceTypes)static PxVehicleDrivableSurfaceToTireFrictionPairswrapPointer(long address)-
Methods inherited from class physx.NativeObject
getAddress
-
-
-
-
Method Detail
-
wrapPointer
public static PxVehicleDrivableSurfaceToTireFrictionPairs wrapPointer(long address)
-
allocate
public static PxVehicleDrivableSurfaceToTireFrictionPairs allocate(int maxNbTireTypes, int maxNbSurfaceTypes)
- Parameters:
maxNbTireTypes- unsigned longmaxNbSurfaceTypes- unsigned long- Returns:
PxVehicleDrivableSurfaceToTireFrictionPairs
-
setup
public void setup(int nbTireTypes, int nbSurfaceTypes, PxMaterialPtr drivableSurfaceMaterials, PxVehicleDrivableSurfaceType drivableSurfaceTypes)- Parameters:
nbTireTypes- unsigned longnbSurfaceTypes- unsigned longdrivableSurfaceMaterials-PxMaterialPtrdrivableSurfaceTypes-PxVehicleDrivableSurfaceType[Const]
-
release
public void release()
-
setTypePairFriction
public void setTypePairFriction(int surfaceType, int tireType, float value)- Parameters:
surfaceType- unsigned longtireType- unsigned longvalue- float
-
getTypePairFriction
public float getTypePairFriction(int surfaceType, int tireType)- Parameters:
surfaceType- unsigned longtireType- unsigned long- Returns:
- float
-
getMaxNbSurfaceTypes
public int getMaxNbSurfaceTypes()
- Returns:
- unsigned long
-
getMaxNbTireTypes
public int getMaxNbTireTypes()
- Returns:
- unsigned long
-
-