java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehiclePhysXMaterialFrictionParams
A mappping between PxMaterial instance and friction for multiple PxMaterial intances.
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedPxVehiclePhysXMaterialFrictionParams(long address) -
Method Summary
Modifier and TypeMethodDescriptionarrayGet(long baseAddress, int index) voiddestroy()floatA default friction value to be used in the event that the PxMaterial under the tire is not found in the array #materialFrictions.An array of mappings between PxMaterial and friction.intThe number of mappings between PxMaterial and friction.booleanisValid()voidsetDefaultFriction(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.voidAn array of mappings between PxMaterial and friction.voidsetNbMaterialFrictions(int value) The number of mappings between PxMaterial and friction.wrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
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
-
arrayGet
-
destroy
public void destroy() -
getMaterialFrictions
An array of mappings between PxMaterial and friction. -
setMaterialFrictions
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
-