Class JBeamSlot
- Namespace
- LibreRally.Vehicle.JBeam
- Assembly
- LibreRally.dll
Describes a BeamNG slot, its filler part, and its display text.
public record JBeamSlot : IEquatable<JBeamSlot>
- Inheritance
-
JBeamSlot
- Implements
- Inherited Members
Constructors
JBeamSlot(string, string, string, bool, Vector3?)
Describes a BeamNG slot, its filler part, and its display text.
public JBeamSlot(string Type, string Default, string Description, bool CoreSlot, Vector3? NodeOffset = null)
Parameters
TypestringSlot type identifier.
DefaultstringDefault part name that fills the slot.
DescriptionstringHuman-readable slot description.
CoreSlotboolWhether the slot must be filled for the vehicle to function.
NodeOffsetVector3?Optional node offset applied to the installed part.
Properties
CoreSlot
Whether the slot must be filled for the vehicle to function.
public bool CoreSlot { get; init; }
Property Value
Default
Default part name that fills the slot.
public string Default { get; init; }
Property Value
Description
Human-readable slot description.
public string Description { get; init; }
Property Value
NodeOffset
Optional node offset applied to the installed part.
public Vector3? NodeOffset { get; init; }
Property Value
Type
Slot type identifier.
public string Type { get; init; }