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, isExternallyAllocated
-
-
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, PxMaterialConstPtr drivableSurfaceMaterials, PxVehicleDrivableSurfaceType drivableSurfaceTypes)static PxVehicleDrivableSurfaceToTireFrictionPairswrapPointer(long address)-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxVehicleDrivableSurfaceToTireFrictionPairs wrapPointer(long address)
-
allocate
public static PxVehicleDrivableSurfaceToTireFrictionPairs allocate(int maxNbTireTypes, int maxNbSurfaceTypes)
- Parameters:
maxNbTireTypes- WebIDL type: unsigned longmaxNbSurfaceTypes- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxVehicleDrivableSurfaceToTireFrictionPairs
-
setup
public void setup(int nbTireTypes, int nbSurfaceTypes, PxMaterialConstPtr drivableSurfaceMaterials, PxVehicleDrivableSurfaceType drivableSurfaceTypes)- Parameters:
nbTireTypes- WebIDL type: unsigned longnbSurfaceTypes- WebIDL type: unsigned longdrivableSurfaceMaterials- WebIDL type:PxMaterialConstPtrdrivableSurfaceTypes- WebIDL type:PxVehicleDrivableSurfaceType[Const]
-
release
public void release()
-
setTypePairFriction
public void setTypePairFriction(int surfaceType, int tireType, float value)- Parameters:
surfaceType- WebIDL type: unsigned longtireType- WebIDL type: unsigned longvalue- WebIDL type: float
-
getTypePairFriction
public float getTypePairFriction(int surfaceType, int tireType)- Parameters:
surfaceType- WebIDL type: unsigned longtireType- WebIDL type: unsigned long- Returns:
- WebIDL type: float
-
getMaxNbSurfaceTypes
public int getMaxNbSurfaceTypes()
- Returns:
- WebIDL type: unsigned long
-
getMaxNbTireTypes
public int getMaxNbTireTypes()
- Returns:
- WebIDL type: unsigned long
-
-