setTimescale method

Time setTimescale(
  1. double timescale
)

Sets a timescale value. This value represents the scale at which time passes. Can be used for slow down or accelerate the simulation.

Implementation

Time setTimescale(double timescale ) {
	_timescale = timescale;
	return this;
}