Open Rails

TrainCarViewer Methods

The methods of the TrainCarViewer class are listed below. For a complete list of TrainCarViewer class members, see the TrainCarViewer Members topic.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type.
GetType (inherited from Object)Gets the Type of the current instance.
HandleUserInput
InitializeUserInputCommands
PrepareFrame Called at the full frame rate elapsedTime is time since last frame Executes in the UpdaterThread
ToString (inherited from Object)Returns a String that represents the current Object.
Unload
UpdateSoundPosition

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

TrainCarViewer Class | Orts.Viewer3D.RollingStock Namespace