Table of Contents

Class JBeamPart

Namespace
LibreRally.Vehicle.JBeam
Assembly
LibreRally.dll

All raw data parsed from a single .jbeam section (one named object within a file).

public class JBeamPart
Inheritance
JBeamPart
Inherited Members

Properties

ActiveMaterialVariantName

The material variant token contributed by this part, preferring SkinName.

public string ActiveMaterialVariantName { get; }

Property Value

string

Beams

List of beams defined by this part.

public List<JBeamBeam> Beams { get; init; }

Property Value

List<JBeamBeam>

BrakeControl

Brake control settings if this part provides them.

public JBeamBrakeControlDefinition? BrakeControl { get; init; }

Property Value

JBeamBrakeControlDefinition

Engine

Engine definition if this part is an engine.

public JBeamEngineDefinition? Engine { get; init; }

Property Value

JBeamEngineDefinition

FlexBodies

List of flexbodies (meshes) attached to this part's node groups.

public List<JBeamFlexBody> FlexBodies { get; init; }

Property Value

List<JBeamFlexBody>

FuelTank

Fuel tank definition if this part is a fuel tank.

public JBeamFuelTankDefinition? FuelTank { get; init; }

Property Value

JBeamFuelTankDefinition

GearRatio

Specific gear ratio provided by this part (e.g., final drive).

public float? GearRatio { get; init; }

Property Value

float?

Gearbox

Gearbox definition if this part is a gearbox.

public JBeamGearboxDefinition? Gearbox { get; init; }

Property Value

JBeamGearboxDefinition

GlobalSkin

Global skin token applied by the part when BeamNG declares one.

public string GlobalSkin { get; init; }

Property Value

string

IsMain

Gets whether this is the vehicle's root "main" part.

public bool IsMain { get; }

Property Value

bool

Name

Internal name of the part.

public string Name { get; init; }

Property Value

string

Nodes

List of nodes defined by this part.

public List<JBeamNode> Nodes { get; init; }

Property Value

List<JBeamNode>

PowertrainDevices

List of powertrain devices (engines, diffs) defined by this part.

public List<JBeamPowertrainDevice> PowertrainDevices { get; init; }

Property Value

List<JBeamPowertrainDevice>

PressureWheelOptions

Default pressure wheel options for wheels in this part.

public JBeamPressureWheelOptions? PressureWheelOptions { get; init; }

Property Value

JBeamPressureWheelOptions

PressureWheels

List of pressure wheels defined by this part.

public List<JBeamPressureWheel> PressureWheels { get; init; }

Property Value

List<JBeamPressureWheel>

RefNodes

Ref nodes: ref, back, left, up positions used for orientation.

public Dictionary<string, string> RefNodes { get; init; }

Property Value

Dictionary<string, string>

SkinName

Skin token used for material variants when the part declares one explicitly.

public string SkinName { get; init; }

Property Value

string

SlotType

Type of slot this part occupies.

public string SlotType { get; init; }

Property Value

string

Slots

List of slots defined by this part.

public List<JBeamSlot> Slots { get; init; }

Property Value

List<JBeamSlot>

TractionControl

Traction control settings if this part provides them.

public JBeamTractionControlDefinition? TractionControl { get; init; }

Property Value

JBeamTractionControlDefinition

VariableDefinitions

Definitions for variables that can be tuned for this part.

public List<JBeamVariableDefinition> VariableDefinitions { get; init; }

Property Value

List<JBeamVariableDefinition>

Variables

Map of variable names to their values for this part.

public Dictionary<string, float> Variables { get; init; }

Property Value

Dictionary<string, float>

VehicleController

Vehicle controller settings if this part provides them.

public JBeamVehicleControllerDefinition? VehicleController { get; init; }

Property Value

JBeamVehicleControllerDefinition