java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleTopLevelFunctions
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxVehicleTopLevelFunctionsarrayGet(long baseAddress, int index) static voidstatic intstatic booleanInitVehicleExtension(PxFoundation foundation) static booleanVehicleComputeSprungMasses(int nbSprungMasses, PxArray_PxVec3 sprungMassCoordinates, float totalMass, PxVehicleAxesEnum gravityDirection, PxArray_PxReal sprungMasses) static PxConvexMeshVehicleUnitCylinderSweepMeshCreate(PxVehicleFrame vehicleFrame, PxPhysics physics, PxCookingParams params) static voidstatic PxVehicleTopLevelFunctionswrapPointer(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
-
PxVehicleTopLevelFunctions
protected PxVehicleTopLevelFunctions() -
PxVehicleTopLevelFunctions
protected PxVehicleTopLevelFunctions(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
getMAX_NB_ENGINE_TORQUE_CURVE_ENTRIES
public static int getMAX_NB_ENGINE_TORQUE_CURVE_ENTRIES()- Returns:
- WebIDL type: unsigned long
-
InitVehicleExtension
- Parameters:
foundation- WebIDL type:PxFoundation[Ref]- Returns:
- WebIDL type: boolean
-
CloseVehicleExtension
public static void CloseVehicleExtension() -
VehicleComputeSprungMasses
public static boolean VehicleComputeSprungMasses(int nbSprungMasses, PxArray_PxVec3 sprungMassCoordinates, float totalMass, PxVehicleAxesEnum gravityDirection, PxArray_PxReal sprungMasses) - Parameters:
nbSprungMasses- WebIDL type: unsigned longsprungMassCoordinates- WebIDL type:PxArray_PxVec3[Ref]totalMass- WebIDL type: floatgravityDirection- WebIDL type:PxVehicleAxesEnum[enum]sprungMasses- WebIDL type:PxArray_PxReal[Ref]- Returns:
- WebIDL type: boolean
-
VehicleUnitCylinderSweepMeshCreate
public static PxConvexMesh VehicleUnitCylinderSweepMeshCreate(PxVehicleFrame vehicleFrame, PxPhysics physics, PxCookingParams params) - Parameters:
vehicleFrame- WebIDL type:PxVehicleFrame[Const, Ref]physics- WebIDL type:PxPhysics[Ref]params- WebIDL type:PxCookingParams[Const, Ref]- Returns:
- WebIDL type:
PxConvexMesh
-
VehicleUnitCylinderSweepMeshDestroy
- Parameters:
mesh- WebIDL type:PxConvexMesh
-