Open Rails

WorldPosition.NormalizeTo Method

[This is preliminary documentation and subject to change.]

Change tile and location values to make it as if the location where on the requested tile.

public void NormalizeTo(
   int tileX,
   int tileZ
);

Parameters

tileX
The x-value of the tile to normalize to
tileZ
The x-value of the tile to normalize to

See Also

WorldPosition Class | ORTS.Common Namespace