Table of Contents

Class BeamNgResolvedVehicle

Namespace
LibreRally.Vehicle.Content
Assembly
LibreRally.dll

Represents a resolved BeamNG vehicle together with its asset lookup context.

public sealed class BeamNgResolvedVehicle
Inheritance
BeamNgResolvedVehicle
Inherited Members

Properties

JBeamSearchFolders

Gets the folders searched for JBeam and related vehicle content.

public IReadOnlyList<string> JBeamSearchFolders { get; }

Property Value

IReadOnlyList<string>

SourceDescription

Gets a human-readable description of the source package.

public string SourceDescription { get; }

Property Value

string

VehicleFolderPath

Gets the extracted or source folder that contains the active vehicle files.

public string VehicleFolderPath { get; }

Property Value

string

VehicleId

Gets the BeamNG vehicle identifier.

public string VehicleId { get; }

Property Value

string

VehiclesRootDirectories

Gets the root directories used to resolve BeamNG virtual vehicle paths.

public IReadOnlyList<string> VehiclesRootDirectories { get; }

Property Value

IReadOnlyList<string>

Methods

ResolveColladaFilesForMeshes(IEnumerable<string>)

Finds Collada mesh files that contain the requested mesh names.

public IReadOnlyList<string> ResolveColladaFilesForMeshes(IEnumerable<string> meshNames)

Parameters

meshNames IEnumerable<string>

Mesh names to look up.

Returns

IReadOnlyList<string>

Absolute file paths for matching Collada files.

ResolveVehicleAssetPath(string)

Resolves a BeamNG virtual vehicle asset path to a concrete file on disk.

public string? ResolveVehicleAssetPath(string vehiclePath)

Parameters

vehiclePath string

Virtual BeamNG asset path.

Returns

string

The resolved absolute file path when found; otherwise null.