Class LoadedVehicle
- Namespace
- LibreRally.Vehicle
- Assembly
- LibreRally.dll
Represents a fully loaded vehicle ready for simulation.
public record LoadedVehicle : IEquatable<LoadedVehicle>
- Inheritance
-
LoadedVehicle
- Implements
- Inherited Members
Constructors
LoadedVehicle(VehicleDefinition, Entity, RallyCarComponent, Entity, Entity, Entity, Entity, Entity, VehicleLoadDiagnostics)
Represents a fully loaded vehicle ready for simulation.
public LoadedVehicle(VehicleDefinition Definition, Entity RootEntity, RallyCarComponent CarComponent, Entity ChassisEntity, Entity WheelFL, Entity WheelFR, Entity WheelRL, Entity WheelRR, VehicleLoadDiagnostics Diagnostics)
Parameters
DefinitionVehicleDefinitionThe assembled vehicle definition.
RootEntityEntityThe root entity of the vehicle hierarchy.
CarComponentRallyCarComponentThe main rally car script component.
ChassisEntityEntityThe entity representing the main chassis.
WheelFLEntityThe front-left wheel entity.
WheelFREntityThe front-right wheel entity.
WheelRLEntityThe rear-left wheel entity.
WheelRREntityThe rear-right wheel entity.
DiagnosticsVehicleLoadDiagnosticsLoad diagnostics information.
Properties
CarComponent
The main rally car script component.
public RallyCarComponent CarComponent { get; init; }
Property Value
ChassisEntity
The entity representing the main chassis.
public Entity ChassisEntity { get; init; }
Property Value
Definition
The assembled vehicle definition.
public VehicleDefinition Definition { get; init; }
Property Value
Diagnostics
Load diagnostics information.
public VehicleLoadDiagnostics Diagnostics { get; init; }
Property Value
RootEntity
The root entity of the vehicle hierarchy.
public Entity RootEntity { get; init; }
Property Value
WheelFL
The front-left wheel entity.
public Entity WheelFL { get; init; }
Property Value
WheelFR
The front-right wheel entity.
public Entity WheelFR { get; init; }
Property Value
WheelRL
The rear-left wheel entity.
public Entity WheelRL { get; init; }
Property Value
WheelRR
The rear-right wheel entity.
public Entity WheelRR { get; init; }