Open Rails

MSTSSteamLocomotive.GetFilledFraction Method

[This is preliminary documentation and subject to change.]

Returns the fraction of coal or water already in tender.

public override float GetFilledFraction(
   uint pickupType
);

Parameters

pickupType
Pickup type

Return Value

0.0 to 1.0. If type is unknown, returns 0.0

See Also

MSTSSteamLocomotive Class | ORTS Namespace