Open Rails

GearBox Members

GearBox overview

Public Instance Constructors

GearBox Overloaded. Initializes a new instance of the GearBox class.

Public Instance Fields

AutoClutch
clutchOn
GearBoxOperation
Gears
IsRestored
OriginalGearBoxOperation

Public Instance Properties

ClutchPercent
CurrentGear
CurrentGearIndex
CurrentSpeedMpS
GearedDown
GearedUp
IsClutchOn
IsInitialized
IsOverspeedError
IsOverspeedWarning
MotiveForceN
NextGear
NextGearIndex
NumOfGears
ShaftRPM

Public Instance Methods

AutoAtGear
AutoGearDown
AutoGearUp
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.
InitializeMoving
Parse
Restore
Save
ToString (inherited from Object)Returns a string that represents the current object.
Update

Protected Instance Methods

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.

See Also

GearBox Class | ORTS Namespace