public class PxVehicleDrivableSurfaceToTireFrictionPairs extends NativeObject
NativeObject.Allocator<T>address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxVehicleDrivableSurfaceToTireFrictionPairs() |
protected |
PxVehicleDrivableSurfaceToTireFrictionPairs(long address) |
| Modifier and Type | Method and Description |
|---|---|
static PxVehicleDrivableSurfaceToTireFrictionPairs |
allocate(int maxNbTireTypes,
int maxNbSurfaceTypes) |
int |
getMaxNbSurfaceTypes() |
int |
getMaxNbTireTypes() |
float |
getTypePairFriction(int surfaceType,
int tireType) |
void |
release() |
void |
setTypePairFriction(int surfaceType,
int tireType,
float value) |
void |
setup(int nbTireTypes,
int nbSurfaceTypes,
PxMaterialConstPtr drivableSurfaceMaterials,
PxVehicleDrivableSurfaceType drivableSurfaceTypes) |
static PxVehicleDrivableSurfaceToTireFrictionPairs |
wrapPointer(long address) |
checkNotNull, equals, getAddress, hashCodeprotected PxVehicleDrivableSurfaceToTireFrictionPairs()
protected PxVehicleDrivableSurfaceToTireFrictionPairs(long address)
public static PxVehicleDrivableSurfaceToTireFrictionPairs wrapPointer(long address)
public static PxVehicleDrivableSurfaceToTireFrictionPairs allocate(int maxNbTireTypes, int maxNbSurfaceTypes)
maxNbTireTypes - WebIDL type: unsigned longmaxNbSurfaceTypes - WebIDL type: unsigned longPxVehicleDrivableSurfaceToTireFrictionPairspublic void setup(int nbTireTypes,
int nbSurfaceTypes,
PxMaterialConstPtr drivableSurfaceMaterials,
PxVehicleDrivableSurfaceType drivableSurfaceTypes)
nbTireTypes - WebIDL type: unsigned longnbSurfaceTypes - WebIDL type: unsigned longdrivableSurfaceMaterials - WebIDL type: PxMaterialConstPtrdrivableSurfaceTypes - WebIDL type: PxVehicleDrivableSurfaceType [Const]public void release()
public void setTypePairFriction(int surfaceType,
int tireType,
float value)
surfaceType - WebIDL type: unsigned longtireType - WebIDL type: unsigned longvalue - WebIDL type: floatpublic float getTypePairFriction(int surfaceType,
int tireType)
surfaceType - WebIDL type: unsigned longtireType - WebIDL type: unsigned longpublic int getMaxNbSurfaceTypes()
public int getMaxNbTireTypes()