PyANGKernel.GKVehiclePollutantRate¶
- class GKVehiclePollutantRate¶
Pollution rate (in g/s) based on the vehicle speed. * * The pollution rate is defined by a tuple of speed and rate.
Synopsis¶
Methods¶
def
__init__()def
getRate()def
getSpeed()def
setRate()def
setSpeed()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
- __init__()¶
returns the rate
returns the speed
- setRate(arg__1)¶
- Parameters:
arg__1 – float
sets the rate
- setSpeed(avalue)¶
- Parameters:
avalue – float
sets the speed