Class AssembledPartGearRatio
- Namespace
- LibreRally.Vehicle
- Assembly
- LibreRally.dll
Assembled gear ratio from a specific part (e.g. final drive).
public record AssembledPartGearRatio : IEquatable<AssembledPartGearRatio>
- Inheritance
-
AssembledPartGearRatio
- Implements
- Inherited Members
Constructors
AssembledPartGearRatio(string, string, float)
Assembled gear ratio from a specific part (e.g. final drive).
public AssembledPartGearRatio(string SourcePartName, string SourceSlotType, float GearRatio)
Parameters
SourcePartNamestringThe name of the source JBeam part.
SourceSlotTypestringThe slot type of the source JBeam part.
GearRatiofloatThe resolved gear ratio.
Properties
GearRatio
The resolved gear ratio.
public float GearRatio { get; init; }
Property Value
SourcePartName
The name of the source JBeam part.
public string SourcePartName { get; init; }
Property Value
SourceSlotType
The slot type of the source JBeam part.
public string SourceSlotType { get; init; }