#include <PxVehicleComponents.h>
|
enum | Enum {
eREVERSE =0,
eNEUTRAL,
eFIRST,
eSECOND,
eTHIRD,
eFOURTH,
eFIFTH,
eSIXTH,
eSEVENTH,
eEIGHTH,
eNINTH,
eTENTH,
eELEVENTH,
eTWELFTH,
eTHIRTEENTH,
eFOURTEENTH,
eFIFTEENTH,
eSIXTEENTH,
eSEVENTEENTH,
eEIGHTEENTH,
eNINETEENTH,
eTWENTIETH,
eTWENTYFIRST,
eTWENTYSECOND,
eTWENTYTHIRD,
eTWENTYFOURTH,
eTWENTYFIFTH,
eTWENTYSIXTH,
eTWENTYSEVENTH,
eTWENTYEIGHTH,
eTWENTYNINTH,
eTHIRTIETH,
eGEARSRATIO_COUNT
} |
|
◆ Enum
Enumerator |
---|
eREVERSE | |
eNEUTRAL | |
eFIRST | |
eSECOND | |
eTHIRD | |
eFOURTH | |
eFIFTH | |
eSIXTH | |
eSEVENTH | |
eEIGHTH | |
eNINTH | |
eTENTH | |
eELEVENTH | |
eTWELFTH | |
eTHIRTEENTH | |
eFOURTEENTH | |
eFIFTEENTH | |
eSIXTEENTH | |
eSEVENTEENTH | |
eEIGHTEENTH | |
eNINETEENTH | |
eTWENTIETH | |
eTWENTYFIRST | |
eTWENTYSECOND | |
eTWENTYTHIRD | |
eTWENTYFOURTH | |
eTWENTYFIFTH | |
eTWENTYSIXTH | |
eTWENTYSEVENTH | |
eTWENTYEIGHTH | |
eTWENTYNINTH | |
eTHIRTIETH | |
eGEARSRATIO_COUNT | |
◆ PxVehicleGearsData() [1/2]
PxVehicleGearsData::PxVehicleGearsData |
( |
| ) |
|
|
inline |
◆ PxVehicleGearsData() [2/2]
PxVehicleGearsData::PxVehicleGearsData |
( |
const PxEMPTY |
| ) |
|
|
inline |
◆ getGearRatio()
◆ isValid()
bool PxVehicleGearsData::isValid |
( |
| ) |
const |
|
private |
◆ setGearRatio()
◆ PxVehicleDriveSimData
◆ mFinalRatio
PxReal PxVehicleGearsData::mFinalRatio |
Gear ratio applied is mRatios[currentGear]*finalRatio.
Range: [0, PX_MAX_F32)
◆ mNbRatios
PxU32 PxVehicleGearsData::mNbRatios |
Number of gears (including reverse and neutral).
Range: (0, MAX_NB_GEAR_RATIOS)
◆ mPad
PxReal PxVehicleGearsData::mPad |
|
private |
◆ mRatios
Gear ratios.
Range: [0, PX_MAX_F32)
◆ mSwitchTime
PxReal PxVehicleGearsData::mSwitchTime |
Time it takes to switch gear.
- Note
- Specified in seconds (s).
Range: [0, PX_MAX_F32)
The documentation for this class was generated from the following file: