Open Rails

Integrator.Integrate Method

[This is preliminary documentation and subject to change.]

Integrates given value with given time span

public float Integrate(
   float timeSpan,
   float value
);

Parameters

timeSpan
Integration step or timespan in seconds
value
Value to integrate

Return Value

Value of integration in the next step (t + timeSpan)

See Also

Integrator Class | ORTS.Common Namespace