Open Rails

TrainCarViewer.PrepareFrame Method

[This is preliminary documentation and subject to change.]

Called at the full frame rate elapsedTime is time since last frame Executes in the UpdaterThread

public abstract void PrepareFrame(
   RenderFrame frame,
   ElapsedTime elapsedTime
);

See Also

TrainCarViewer Class | Orts.Viewer3D.RollingStock Namespace