CharacterAsset
Description
The CharacterAsset object represents an asset with the
Character asset type in the RoadRunner project. You can use the CharacterAsset object to represent
Character actors in the
scenario.
Creation
You can create a CharacterAsset 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"CharacterAsset"to extract aCharacterAssetobject.The
createAssetfunction creates an asset of the specified asset type at the specified path relative to theAssetfolder of the specified project. Specify theassetTypeargument as"CharacterAsset"to create aCharacterAssetobject. 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 | Character | MovableObjectAsset | VehicleAsset
Topics
- Actors in RoadRunner Scenario (RoadRunner Scenario)
- Path Editing (RoadRunner Scenario)