Class JBeamPowertrainDevice
- Namespace
- LibreRally.Vehicle.JBeam
- Assembly
- LibreRally.dll
Represents a parsed BeamNG powertrain device and its upstream connection metadata.
public record JBeamPowertrainDevice : IEquatable<JBeamPowertrainDevice>
- Inheritance
-
JBeamPowertrainDevice
- Implements
- Inherited Members
Constructors
JBeamPowertrainDevice(string, string, string, int, string, float?, string, float?, float?, float?)
Represents a parsed BeamNG powertrain device and its upstream connection metadata.
public JBeamPowertrainDevice(string Type, string Name, string InputName, int InputIndex, string ConnectedWheel, float? GearRatio, string DiffType, float? LsdPreload, float? LsdLockCoef, float? LsdRevLockCoef)
Parameters
TypestringBeamNG powertrain device type.
NamestringDevice name used for graph lookups.
InputNamestringUpstream device identifier feeding this one.
InputIndexintInput slot index used by the device.
ConnectedWheelstringWheel code connected to the device, when applicable.
GearRatiofloat?Optional gear ratio contributed by the device.
DiffTypestringDifferential subtype token reported by BeamNG.
LsdPreloadfloat?Optional LSD preload torque.
LsdLockCoeffloat?Optional locking coefficient under power.
LsdRevLockCoeffloat?Optional locking coefficient on coast.
Properties
ConnectedWheel
Wheel code connected to the device, when applicable.
public string ConnectedWheel { get; init; }
Property Value
DiffType
Differential subtype token reported by BeamNG.
public string DiffType { get; init; }
Property Value
GearRatio
Optional gear ratio contributed by the device.
public float? GearRatio { get; init; }
Property Value
InputIndex
Input slot index used by the device.
public int InputIndex { get; init; }
Property Value
InputName
Upstream device identifier feeding this one.
public string InputName { get; init; }
Property Value
LsdLockCoef
Optional locking coefficient under power.
public float? LsdLockCoef { get; init; }
Property Value
LsdPreload
Optional LSD preload torque.
public float? LsdPreload { get; init; }
Property Value
LsdRevLockCoef
Optional locking coefficient on coast.
public float? LsdRevLockCoef { get; init; }
Property Value
Name
Device name used for graph lookups.
public string Name { get; init; }
Property Value
Type
BeamNG powertrain device type.
public string Type { get; init; }