CARLA
Public Member Functions | Private Member Functions | Private Attributes | List of all members
UPrepareAssetsForCookingCommandlet Class Reference

#include <PrepareAssetsForCookingCommandlet.h>

+ Inheritance diagram for UPrepareAssetsForCookingCommandlet:
+ Collaboration diagram for UPrepareAssetsForCookingCommandlet:

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...
 

Detailed Description

Definition at line 60 of file PrepareAssetsForCookingCommandlet.h.

Constructor & Destructor Documentation

◆ UPrepareAssetsForCookingCommandlet()

UPrepareAssetsForCookingCommandlet::UPrepareAssetsForCookingCommandlet ( )

Member Function Documentation

◆ GetFirstPackagePath()

FString UPrepareAssetsForCookingCommandlet::GetFirstPackagePath ( const FString &  PackageName) const
private

Gets the first .Package.json file found in Unreal Content Directory with PackageName.

◆ SavePackage()

bool UPrepareAssetsForCookingCommandlet::SavePackage ( const FString &  PackagePath,
UPackage *  Package 
) const
private

Saves Package in .umap format in path PackagePath inside Unreal Content folder.

Member Data Documentation

◆ AssetDatas

TArray<FAssetData> UPrepareAssetsForCookingCommandlet::AssetDatas
private

Loaded assets from any object library.

Definition at line 144 of file PrepareAssetsForCookingCommandlet.h.

◆ AssetsObjectLibrary

UObjectLibrary* UPrepareAssetsForCookingCommandlet::AssetsObjectLibrary
private

Used for loading assets in object library.

Loaded Data is stored in AssetDatas.

Definition at line 158 of file PrepareAssetsForCookingCommandlet.h.

◆ CurbNodeMaterialInstance

UMaterialInstance* UPrepareAssetsForCookingCommandlet::CurbNodeMaterialInstance
private

Material to apply to curbs on the road.

Definition at line 170 of file PrepareAssetsForCookingCommandlet.h.

Referenced by UPrepareAssetsForCookingCommandlet().

◆ GutterNodeMaterialInstance

UMaterialInstance* UPrepareAssetsForCookingCommandlet::GutterNodeMaterialInstance
private

Material to apply to gutters on the road.

Definition at line 174 of file PrepareAssetsForCookingCommandlet.h.

Referenced by UPrepareAssetsForCookingCommandlet().

◆ MapContents

TArray<FAssetData> UPrepareAssetsForCookingCommandlet::MapContents
private

Loaded map content from any object library.

Definition at line 148 of file PrepareAssetsForCookingCommandlet.h.

◆ MapObjectLibrary

UObjectLibrary* UPrepareAssetsForCookingCommandlet::MapObjectLibrary
private

Used for loading maps in object library.

Loaded Data is stored in AssetDatas.

Definition at line 153 of file PrepareAssetsForCookingCommandlet.h.

◆ MarkingNodeWhite

UMaterialInstance* UPrepareAssetsForCookingCommandlet::MarkingNodeWhite
private

Workaround material for exterior lane markings.

Definition at line 182 of file PrepareAssetsForCookingCommandlet.h.

Referenced by UPrepareAssetsForCookingCommandlet().

◆ MarkingNodeYellow

UMaterialInstance* UPrepareAssetsForCookingCommandlet::MarkingNodeYellow
private

Workaround material for the center lane markings.

Definition at line 178 of file PrepareAssetsForCookingCommandlet.h.

Referenced by UPrepareAssetsForCookingCommandlet().

◆ RoadNodeMaterial

UMaterialInstance* UPrepareAssetsForCookingCommandlet::RoadNodeMaterial
private

Workaround material for the RoadNode mesh.

Definition at line 166 of file PrepareAssetsForCookingCommandlet.h.

Referenced by UPrepareAssetsForCookingCommandlet().

◆ SidewalkNodeMaterialInstance

UMaterialInstance* UPrepareAssetsForCookingCommandlet::SidewalkNodeMaterialInstance
private

Workaround material for the SidewalkNodes.

Definition at line 190 of file PrepareAssetsForCookingCommandlet.h.

Referenced by UPrepareAssetsForCookingCommandlet().

◆ TerrainNodeMaterialInstance

UMaterialInstance* UPrepareAssetsForCookingCommandlet::TerrainNodeMaterialInstance
private

Workaround material for the TerrainNodes.

Definition at line 186 of file PrepareAssetsForCookingCommandlet.h.

Referenced by UPrepareAssetsForCookingCommandlet().

◆ World

UWorld* UPrepareAssetsForCookingCommandlet::World
private

Base map world loaded from Carla Content.

Definition at line 162 of file PrepareAssetsForCookingCommandlet.h.


The documentation for this class was generated from the following files: