five-on-it / packages/sim/src/vehicle-classes / modelOf
Function: modelOf()
modelOf(
vc):string
Defined in: packages/sim/src/vehicle-classes.ts:924
The name of a class's model in the vehicles file the client draws (apps/client/public/models/vehicles.glb) and of its hull in vehicle-hulls.json: the class's name with its spaces dashed (box-truck); a trailer's is its tractor's followed by -trailer.
Parameters
vc
Pick<VehicleClass, "name">
Returns
string