PhysX SDK 3.2 API Reference: PxVehicleAutoBoxData Class Reference

PhysX SDK 3.2 API

PxVehicleAutoBoxData Class Reference
[Vehicle]

#include <PxVehicleComponents.h>

List of all members.


Public Member Functions

 PxVehicleAutoBoxData ()
void setLatency (const PxReal latency)
 Set the latency time of the autobox, specified in s.
PxReal getLatency () const
 Get the latency time of the autobox, specified in s.

Public Attributes

PxReal mUpRatios [PxVehicleGearsData::eMAX_NUM_GEAR_RATIOS]
 Value of engineRevs/maxEngineRevs that is high enough to increment gear. Range: (0,1)
.
PxReal mDownRatios [PxVehicleGearsData::eMAX_NUM_GEAR_RATIOS]
 Value of engineRevs/maxEngineRevs that is low enough to decrement gear. Range: (0,1)
.

Private Member Functions

bool isValid () const

Friends

class PxVehicleDriveSimData

Constructor & Destructor Documentation

PxVehicleAutoBoxData::PxVehicleAutoBoxData (  )  [inline]


Member Function Documentation

PxReal PxVehicleAutoBoxData::getLatency (  )  const [inline]

Get the latency time of the autobox, specified in s.

See also:
getLatency

References PxVehicleGearsData::eREVERSE.

bool PxVehicleAutoBoxData::isValid (  )  const [private]

void PxVehicleAutoBoxData::setLatency ( const PxReal  latency  )  [inline]

Set the latency time of the autobox, specified in s.

Latency time is the minimum time that must pass between each gear change that is initiated by the autobox.

See also:
getLatency

References PxVehicleGearsData::eREVERSE.


Friends And Related Function Documentation

friend class PxVehicleDriveSimData [friend]


Member Data Documentation

PxReal PxVehicleAutoBoxData::mDownRatios[PxVehicleGearsData::eMAX_NUM_GEAR_RATIOS]

Value of engineRevs/maxEngineRevs that is low enough to decrement gear. Range: (0,1)
.

PxReal PxVehicleAutoBoxData::mUpRatios[PxVehicleGearsData::eMAX_NUM_GEAR_RATIOS]

Value of engineRevs/maxEngineRevs that is high enough to increment gear. Range: (0,1)
.


The documentation for this class was generated from the following file:



Copyright © 2008-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com