Open Rails

AbstractScriptClass.DistanceM Field

[This is preliminary documentation and subject to change.]

Running total of distance travelled - always positive, updated by train physics.

public Func<float> DistanceM;

See Also

AbstractScriptClass Class | ORTS.Scripting.Api Namespace