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
getAsset
function extracts an object for the asset of the specified asset type at the specified path relative to theAsset
folder of the specified project. Specify theassetType
argument as"VehicleAsset"
to extract aVehicleAsset
object.The
createAsset
function creates an asset of the specified asset type at the specified path relative to theAsset
folder of the specified project. Specify theassetType
argument as"VehicleAsset"
to create aVehicleAsset
object. The extension you specify for the new asset must match the type specified for theassetType
argument.
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)