2#include "VehicleDatabase/Headers/DLLInfo.h"
3#include "Design/Headers/Model.h"
Logic for reading or writing to a file as well as navigating filesystems or other common file operati...
Model()
Default constructor. Creates an uninitialized Model.
The core String View class for the NDEVR API.
VehicleModel(const Model &model)
Constructs a VehicleModel wrapping an existing Model.
void setVisuals(const Model &visuals)
Sets the 3D visual model used to display this vehicle.
void readModelFromFile(const File &f)
Reads and applies a 3D model file as the vehicle visual.
void setupModel()
Creates the model hierarchy structure for the vehicle.
VehicleModel()
Default constructor.
Model visuals()
Returns the child model containing the visual geometry.
void setupFromRecord(const VehicleRecord &record)
Configures this vehicle from a database record (dimensions, weight, etc.).
static constexpr StringView TypeName()
Returns the design type name used to identify vehicle models.
A read-only accessor for a single vehicle record within a VehicleDatabase, providing make,...
The primary namespace for the NDEVR SDK.
VehicleType
Enumeration of standard vehicle body type classifications.
@ e_mid_sized_sedan
Mid-sized sedan.
@ e_sport_convertible
Sport convertible.
@ e_medium_duty_truck
Medium duty truck.
@ e_passenger_van_small
Small passenger van.
@ e_heavy_duty_truck
Heavy duty truck.
@ e_station_wagon
Station wagon.
@ e_sub_compact_sedan
Sub-compact sedan.
@ e_passenger_van_large
Large passenger van.
@ e_cargo_van_small
Small cargo van.
@ e_light_duty_truck
Light duty truck.
@ e_cargo_van_large
Large cargo van.
@ e_large_sedan
Large sedan.
@ e_mini_compact_sedan
Mini compact sedan.
@ e_compact_sedan
Compact sedan.