Table of Contents

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

Type string

BeamNG powertrain device type.

Name string

Device name used for graph lookups.

InputName string

Upstream device identifier feeding this one.

InputIndex int

Input slot index used by the device.

ConnectedWheel string

Wheel code connected to the device, when applicable.

GearRatio float?

Optional gear ratio contributed by the device.

DiffType string

Differential subtype token reported by BeamNG.

LsdPreload float?

Optional LSD preload torque.

LsdLockCoef float?

Optional locking coefficient under power.

LsdRevLockCoef float?

Optional locking coefficient on coast.

Properties

ConnectedWheel

Wheel code connected to the device, when applicable.

public string ConnectedWheel { get; init; }

Property Value

string

DiffType

Differential subtype token reported by BeamNG.

public string DiffType { get; init; }

Property Value

string

GearRatio

Optional gear ratio contributed by the device.

public float? GearRatio { get; init; }

Property Value

float?

InputIndex

Input slot index used by the device.

public int InputIndex { get; init; }

Property Value

int

InputName

Upstream device identifier feeding this one.

public string InputName { get; init; }

Property Value

string

LsdLockCoef

Optional locking coefficient under power.

public float? LsdLockCoef { get; init; }

Property Value

float?

LsdPreload

Optional LSD preload torque.

public float? LsdPreload { get; init; }

Property Value

float?

LsdRevLockCoef

Optional locking coefficient on coast.

public float? LsdRevLockCoef { get; init; }

Property Value

float?

Name

Device name used for graph lookups.

public string Name { get; init; }

Property Value

string

Type

BeamNG powertrain device type.

public string Type { get; init; }

Property Value

string