#include <PrepareAssetsForCookingCommandlet.h>
Public Member Functions | |
UPrepareAssetsForCookingCommandlet () | |
Default constructor. More... | |
Private Member Functions | |
FString | GetFirstPackagePath (const FString &PackageName) const |
Gets the first .Package.json file found in Unreal Content Directory with PackageName. More... | |
bool | SavePackage (const FString &PackagePath, UPackage *Package) const |
Saves Package in .umap format in path PackagePath inside Unreal Content folder. More... | |
Private Attributes | |
TArray< FAssetData > | AssetDatas |
Loaded assets from any object library. More... | |
UObjectLibrary * | AssetsObjectLibrary |
Used for loading assets in object library. More... | |
UMaterialInstance * | CurbNodeMaterialInstance |
Material to apply to curbs on the road. More... | |
UMaterialInstance * | GutterNodeMaterialInstance |
Material to apply to gutters on the road. More... | |
TArray< FAssetData > | MapContents |
Loaded map content from any object library. More... | |
UObjectLibrary * | MapObjectLibrary |
Used for loading maps in object library. More... | |
UMaterialInstance * | MarkingNodeWhite |
Workaround material for exterior lane markings. More... | |
UMaterialInstance * | MarkingNodeYellow |
Workaround material for the center lane markings. More... | |
UMaterialInstance * | RoadNodeMaterial |
Workaround material for the RoadNode mesh. More... | |
UMaterialInstance * | SidewalkNodeMaterialInstance |
Workaround material for the SidewalkNodes. More... | |
UMaterialInstance * | TerrainNodeMaterialInstance |
Workaround material for the TerrainNodes. More... | |
UWorld * | World |
Base map world loaded from Carla Content. More... | |
Definition at line 60 of file PrepareAssetsForCookingCommandlet.h.
UPrepareAssetsForCookingCommandlet::UPrepareAssetsForCookingCommandlet | ( | ) |
Default constructor.
Definition at line 49 of file PrepareAssetsForCookingCommandlet.cpp.
References CurbNodeMaterialInstance, GutterNodeMaterialInstance, MarkingNodeWhite, MarkingNodeYellow, RoadNodeMaterial, SidewalkNodeMaterialInstance, and TerrainNodeMaterialInstance.
|
private |
Gets the first .Package.json file found in Unreal Content Directory with PackageName.
|
private |
Saves Package in .umap format in path PackagePath inside Unreal Content folder.
|
private |
Loaded assets from any object library.
Definition at line 144 of file PrepareAssetsForCookingCommandlet.h.
|
private |
Used for loading assets in object library.
Loaded Data is stored in AssetDatas.
Definition at line 158 of file PrepareAssetsForCookingCommandlet.h.
|
private |
Material to apply to curbs on the road.
Definition at line 170 of file PrepareAssetsForCookingCommandlet.h.
Referenced by UPrepareAssetsForCookingCommandlet().
|
private |
Material to apply to gutters on the road.
Definition at line 174 of file PrepareAssetsForCookingCommandlet.h.
Referenced by UPrepareAssetsForCookingCommandlet().
|
private |
Loaded map content from any object library.
Definition at line 148 of file PrepareAssetsForCookingCommandlet.h.
|
private |
Used for loading maps in object library.
Loaded Data is stored in AssetDatas.
Definition at line 153 of file PrepareAssetsForCookingCommandlet.h.
|
private |
Workaround material for exterior lane markings.
Definition at line 182 of file PrepareAssetsForCookingCommandlet.h.
Referenced by UPrepareAssetsForCookingCommandlet().
|
private |
Workaround material for the center lane markings.
Definition at line 178 of file PrepareAssetsForCookingCommandlet.h.
Referenced by UPrepareAssetsForCookingCommandlet().
|
private |
Workaround material for the RoadNode mesh.
Definition at line 166 of file PrepareAssetsForCookingCommandlet.h.
Referenced by UPrepareAssetsForCookingCommandlet().
|
private |
Workaround material for the SidewalkNodes.
Definition at line 190 of file PrepareAssetsForCookingCommandlet.h.
Referenced by UPrepareAssetsForCookingCommandlet().
|
private |
Workaround material for the TerrainNodes.
Definition at line 186 of file PrepareAssetsForCookingCommandlet.h.
Referenced by UPrepareAssetsForCookingCommandlet().
|
private |
Base map world loaded from Carla Content.
Definition at line 162 of file PrepareAssetsForCookingCommandlet.h.