Open Rails

Signals.ScanRoute Method

[This is preliminary documentation and subject to change.]

public List<int> ScanRoute(
   Train thisTrain,
   int firstSectionIndex,
   float firstOffset,
   int firstDirection,
   bool forward,
   float routeLength,
   bool honourManualSwitch,
   bool autoAlign,
   bool stopAtFacingSignal,
   bool reservedOnly,
   bool returnSections,
   bool searchFacingSignal,
   bool searchBackwardSignal,
   bool searchFacingSpeedpost,
   bool searchBackwardSpeedpost,
   bool isFreight
);

See Also

Signals Class | ORTS Namespace