Open Rails

SuperElevationManager.DecomposeConvertedDynamicSuperElevation Method

[This is preliminary documentation and subject to change.]

Decompose and add a SuperElevation on top of MSTS track section converted from dynamic tracks

public static void DecomposeConvertedDynamicSuperElevation(
   Viewer viewer,
   List<DynamicTrackViewerdTrackList,
   TrackObj dTrackObj,
   WorldPosition worldMatrixInput
);

Parameters

viewer
Viewer reference.
dTrackList
DynamicTrackViewer list.
dTrackObj
Dynamic track section to decompose.
worldMatrixInput
Position matrix.

See Also

SuperElevationManager Class | Orts.Viewer3D Namespace