Open Rails

MSTSLocomotive.GetCombinedHandleValue Method

[This is preliminary documentation and subject to change.]

Determines which sub-control of combined handle is active (based on its type), and returns the overall position considering the split position.

public float GetCombinedHandleValue(
   bool intermediateValue
);

Parameters

intermediateValue
Whather asking for intermediate (for mouse operation) or notched (for displaying) value.

Return Value

Combined position into 0-1 range, where arrangement is [[1--throttle--0]split[0--dynamic|airbrake--1]]

See Also

MSTSLocomotive Class | ORTS Namespace