VehicleAsset
Description
The VehicleAsset object represents an asset with the
Vehicle asset type in the RoadRunner project. VehicleAsset objects contain multiple properties for
dimensions that you can customize to modify the size and shape of placeholder vehicle models.
For information on placeholder vehicles, see Vehicle
Assets (RoadRunner Scenario). You can use the VehicleAsset object to represent Vehicle actors in the
scenario.
Creation
You can create a VehicleAsset object in these ways:
The
getAssetfunction extracts an object for the asset of the specified asset type at the specified path relative to theAssetfolder of the specified project. Specify theassetTypeargument as"VehicleAsset"to extract aVehicleAssetobject.The
createAssetfunction creates an asset of the specified asset type at the specified path relative to theAssetfolder of the specified project. Specify theassetTypeargument as"VehicleAsset"to create aVehicleAssetobject. The extension you specify for the new asset must match the type specified for theassetTypeargument.
Properties
Examples
Version History
Introduced in R2025a
See Also
addActor | createAsset | Vehicle | CharacterAsset | MovableObjectAsset
Topics
- Vehicle Assets (RoadRunner Scenario)
- Actors in RoadRunner Scenario (RoadRunner Scenario)