Open Rails

SuperElevationManager.DecomposeDynamicSuperElevation Method

[This is preliminary documentation and subject to change.]

Decompose and add a SuperElevation on top of MSTS track section

public static void DecomposeDynamicSuperElevation(
   Viewer viewer,
   List<DynamicTrackViewerdTrackList,
   DyntrackObj 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