TrainCar
|
Overloaded. Initializes a new instance of the TrainCar class. |
AccelerationMpSS | |
Direction | |
DynamicBrakePercent | |
GearboxGearIndex | |
HasFrontCab | |
HasRearCab | |
IsPlayerTrain | |
SpeedMpS | |
ThrottlePercent |
AddBogie | |
AddWheelSet | |
ComputeMaxXZ | |
ComputePosition | |
CopyControllerSettings | |
CopyCoupler | |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetCabFlipped | |
GetCentreofGravityM | |
GetCouplerStiffnessNpM | |
GetCouplerZeroLengthM | |
GetDebugStatus | |
GetDriverWheelRadiusM | |
GetDynamicBrakeStatus | |
GetEngineBrakeStatus | |
GetEngineType | |
GetFilledFraction | |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type. |
GetLocoNumWheels | |
GetMaximumCouplerForceN | |
GetMaximumCouplerSlack1M | |
GetMaximumCouplerSlack2M | |
GetRigidWheelBaseM | |
GetSanderOn | |
GetStatus | |
GetTrackGaugeM | |
GetTrainBrakeStatus | |
GetType (inherited from Object) | Gets the type of the current instance. |
GetUnbalancedSuperElevationM | |
GetWagonNumWheels | |
GetWagonType | |
GetXNAMatrix | |
Initialize | |
InitializeMoving | |
IsOverTrough | Checks if traincar is over trough. Used to check if refill possible |
Restore | |
Save | |
SetUpWheels | |
SignalEvent | Overloaded. Signals an event from an external source (player, multi-player controller, etc.) for this car. |
SuperElevation | |
SwitchToAutopilotControl | |
SwitchToPlayerControl | |
ToString (inherited from Object) | Returns a string that represents the current object. |
Update | |
UpdateCarriageHeatLoss | This section calculates the heat loss in a carriage, and is used in conjunction with steam heating. Overall heat loss is made up of the following components - heat loss due to transmission through walls, windows, doors, floors and more (W) + heat loss caused by ventilation (W) + heat loss caused by infiltration (W) |
UpdateCurveForce | Reads current curve radius and computes the CurveForceN friction. Can be overriden by calling base.UpdateCurveForce(); CurveForceN *= someCarSpecificCoef; |
UpdateCurveSpeedLimit | Reads current curve radius and computes the maximum recommended speed around the curve based upon the superelevation of the track |
UpdateSoundPosition | |
UpdateTunnelForce | Tunnel force (resistance calculations based upon formula presented in papaer titled "Reasonable compensation coefficient of maximum gradient in long railway tunnels" |
Finalize (inherited from Object) | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |