#include <PxVehicleComponents.h>
Public Member Functions | |
| PxVehicleAutoBoxData () | |
| void | setLatency (const PxReal latency) |
| Set the latency time of the autobox. | |
| PxReal | getLatency () const |
| Get the latency time of the autobox. | |
| PxVehicleAutoBoxData (const PxEMPTY) | |
| PxReal | getUpRatios (PxVehicleGearsData::Enum a) const |
| void | setUpRatios (PxVehicleGearsData::Enum a, PxReal ratio) |
| PxReal | getDownRatios (PxVehicleGearsData::Enum a) const |
| void | setDownRatios (PxVehicleGearsData::Enum a, PxReal ratio) |
Public Attributes | |
| PxReal | mUpRatios [PxVehicleGearsData::eGEARSRATIO_COUNT] |
| Value of ( engineRotationSpeed / PxVehicleEngineData::mMaxOmega ) that is high enough to increment gear. | |
| PxReal | mDownRatios [PxVehicleGearsData::eGEARSRATIO_COUNT] |
| Value of engineRevs/maxEngineRevs that is low enough to decrement gear. | |
Private Member Functions | |
| bool | isValid () const |
Friends | |
| class | PxVehicleDriveSimData |
| PxVehicleAutoBoxData::PxVehicleAutoBoxData | ( | ) | [inline] |
| PxVehicleAutoBoxData::PxVehicleAutoBoxData | ( | const | PxEMPTY | ) | [inline] |
| PxReal PxVehicleAutoBoxData::getDownRatios | ( | PxVehicleGearsData::Enum | a | ) | const [inline] |
| PxReal PxVehicleAutoBoxData::getLatency | ( | ) | const [inline] |
Get the latency time of the autobox.
References PxVehicleGearsData::eREVERSE.
| PxReal PxVehicleAutoBoxData::getUpRatios | ( | PxVehicleGearsData::Enum | a | ) | const [inline] |
| bool PxVehicleAutoBoxData::isValid | ( | ) | const [private] |
| void PxVehicleAutoBoxData::setDownRatios | ( | PxVehicleGearsData::Enum | a, | |
| PxReal | ratio | |||
| ) | [inline] |
| void PxVehicleAutoBoxData::setLatency | ( | const PxReal | latency | ) | [inline] |
Set the latency time of the autobox.
Specified in seconds (s).
References PxVehicleGearsData::eREVERSE.
| void PxVehicleAutoBoxData::setUpRatios | ( | PxVehicleGearsData::Enum | a, | |
| PxReal | ratio | |||
| ) | [inline] |
friend class PxVehicleDriveSimData [friend] |
| PxReal PxVehicleAutoBoxData::mDownRatios[PxVehicleGearsData::eGEARSRATIO_COUNT] |
Value of engineRevs/maxEngineRevs that is low enough to decrement gear.
| PxReal PxVehicleAutoBoxData::mUpRatios[PxVehicleGearsData::eGEARSRATIO_COUNT] |
Value of ( engineRotationSpeed / PxVehicleEngineData::mMaxOmega ) that is high enough to increment gear.