Table of Contents

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

SourcePartName string

The name of the source JBeam part.

SourceSlotType string

The slot type of the source JBeam part.

GearRatio float

The resolved gear ratio.

Properties

GearRatio

The resolved gear ratio.

public float GearRatio { get; init; }

Property Value

float

SourcePartName

The name of the source JBeam part.

public string SourcePartName { get; init; }

Property Value

string

SourceSlotType

The slot type of the source JBeam part.

public string SourceSlotType { get; init; }

Property Value

string