#include <PxVehicleDrive.h>
Public Member Functions | |
PX_FORCE_INLINE const PxVehicleEngineData & | getEngineData () const |
Return the engine data. | |
void | setEngineData (const PxVehicleEngineData &engine) |
Set the engine data. | |
PX_FORCE_INLINE const PxVehicleGearsData & | getGearsData () const |
Return the gears data. | |
void | setGearsData (const PxVehicleGearsData &gears) |
Set the gears data. | |
PX_FORCE_INLINE const PxVehicleClutchData & | getClutchData () const |
Return the clutch data. | |
void | setClutchData (const PxVehicleClutchData &clutch) |
Set the clutch data. | |
PX_FORCE_INLINE const PxVehicleAutoBoxData & | getAutoBoxData () const |
Return the autobox data. | |
void | setAutoBoxData (const PxVehicleAutoBoxData &autobox) |
Set the autobox data. | |
PxVehicleDriveSimData () | |
PxVehicleDriveSimData (const PxEMPTY) | |
Static Public Member Functions | |
static void | getBinaryMetaData (PxOutputStream &stream) |
Protected Member Functions | |
bool | isValid () const |
Test that a PxVehicleDriveSimData instance has been configured with legal data. Call only after setting all components with setEngineData,setGearsData,setClutchData,setAutoBoxData. | |
Protected Attributes | |
PxVehicleEngineData | mEngine |
PxVehicleGearsData | mGears |
PxVehicleClutchData | mClutch |
PxVehicleAutoBoxData | mAutoBox |
Friends | |
class | PxVehicleDriveTank |
PxVehicleDriveSimData::PxVehicleDriveSimData | ( | ) | [inline] |
PxVehicleDriveSimData::PxVehicleDriveSimData | ( | const | PxEMPTY | ) | [inline] |
PX_FORCE_INLINE const PxVehicleAutoBoxData& PxVehicleDriveSimData::getAutoBoxData | ( | ) | const [inline] |
Return the autobox data.
static void PxVehicleDriveSimData::getBinaryMetaData | ( | PxOutputStream & | stream | ) | [static] |
Reimplemented in PxVehicleDriveSimData4W, and PxVehicleDriveSimDataNW.
PX_FORCE_INLINE const PxVehicleClutchData& PxVehicleDriveSimData::getClutchData | ( | ) | const [inline] |
Return the clutch data.
PX_FORCE_INLINE const PxVehicleEngineData& PxVehicleDriveSimData::getEngineData | ( | ) | const [inline] |
Return the engine data.
PX_FORCE_INLINE const PxVehicleGearsData& PxVehicleDriveSimData::getGearsData | ( | ) | const [inline] |
Return the gears data.
bool PxVehicleDriveSimData::isValid | ( | ) | const [protected] |
Test that a PxVehicleDriveSimData instance has been configured with legal data. Call only after setting all components with setEngineData,setGearsData,setClutchData,setAutoBoxData.
Reimplemented in PxVehicleDriveSimData4W, and PxVehicleDriveSimDataNW.
void PxVehicleDriveSimData::setAutoBoxData | ( | const PxVehicleAutoBoxData & | autobox | ) |
Set the autobox data.
[in] | autobox | - the data stored in autobox is copied to the vehicle's autobox. |
void PxVehicleDriveSimData::setClutchData | ( | const PxVehicleClutchData & | clutch | ) |
Set the clutch data.
[in] | clutch | - the data stored in clutch is copied to the vehicle's clutch. |
void PxVehicleDriveSimData::setEngineData | ( | const PxVehicleEngineData & | engine | ) |
Set the engine data.
[in] | engine | - the data stored in engine is copied to the vehicle's engine. |
void PxVehicleDriveSimData::setGearsData | ( | const PxVehicleGearsData & | gears | ) |
Set the gears data.
[in] | gears | - the data stored in gears is copied to the vehicle's gears. |
friend class PxVehicleDriveTank [friend] |
PxVehicleAutoBoxData PxVehicleDriveSimData::mAutoBox [protected] |
PxVehicleClutchData PxVehicleDriveSimData::mClutch [protected] |
PxVehicleEngineData PxVehicleDriveSimData::mEngine [protected] |
PxVehicleGearsData PxVehicleDriveSimData::mGears [protected] |