speed property

double speed

Rate of travel, in meters per second.

The default value is 10.0. Note that very small values for velocity may greatly increase the number of locations created.

Implementation

double get speed {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_SimulationParameters_getVelocity(
        _handle, errorHandler);
  });
}
void speed=(double value)

Implementation

set speed(double value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_SimulationParameters_setVelocity(
        _handle, value, errorHandler);
  });
}