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
SourceDescription
Gets a human-readable description of the source package.
public string SourceDescription { get; }
Property Value
VehicleFolderPath
Gets the extracted or source folder that contains the active vehicle files.
public string VehicleFolderPath { get; }
Property Value
VehicleId
Gets the BeamNG vehicle identifier.
public string VehicleId { get; }
Property Value
VehiclesRootDirectories
Gets the root directories used to resolve BeamNG virtual vehicle paths.
public IReadOnlyList<string> VehiclesRootDirectories { get; }
Property Value
Methods
ResolveColladaFilesForMeshes(IEnumerable<string>)
Finds Collada mesh files that contain the requested mesh names.
public IReadOnlyList<string> ResolveColladaFilesForMeshes(IEnumerable<string> meshNames)
Parameters
meshNamesIEnumerable<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
vehiclePathstringVirtual BeamNG asset path.