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 the- Assetfolder of the specified project. Specify the- assetTypeargument as- "VehicleAsset"to extract a- VehicleAssetobject.
- The - createAssetfunction creates an asset of the specified asset type at the specified path relative to the- Assetfolder of the specified project. Specify the- assetTypeargument as- "VehicleAsset"to create a- VehicleAssetobject. The extension you specify for the new asset must match the type specified for the- assetTypeargument.
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)