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

#include <LoadAssetMaterialsCommandlet.h>

+ Inheritance diagram for ULoadAssetMaterialsCommandlet:
+ Collaboration diagram for ULoadAssetMaterialsCommandlet:

Public Member Functions

 ULoadAssetMaterialsCommandlet ()
 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...
 

Private Attributes

TArray< FAssetData > AssetDatas
 Loaded assets from any object library. More...
 
TMap< FString, FString > DecalNamesMap
 Dictionary for translating the JSON file "decal_names" array to already loaded Material Instances, which are used to apply on the roads. More...
 
FDecalsProperties DecalsProperties
 
bool FilledData
 
UObjectLibrary * MapObjectLibrary
 Used for loading maps in object library. More...
 
UWorld * NewWorldToLoad
 
bool ReadConfigFile
 
TSubclassOf< ARoadPainterWrapperRoadPainterSubclass
 Subclass for acquiring the RoadPainter blueprint. More...
 
FLargeMapTileData TileData
 
UWorld * World
 
boost::optional< carla::road::MapXODRMap
 

Detailed Description

Definition at line 42 of file LoadAssetMaterialsCommandlet.h.

Constructor & Destructor Documentation

◆ ULoadAssetMaterialsCommandlet()

ULoadAssetMaterialsCommandlet::ULoadAssetMaterialsCommandlet ( )

Member Function Documentation

◆ GetFirstPackagePath()

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

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

Referenced by ULoadAssetMaterialsCommandlet().

+ Here is the caller graph for this function:

Member Data Documentation

◆ AssetDatas

TArray<FAssetData> ULoadAssetMaterialsCommandlet::AssetDatas
private

Loaded assets from any object library.

Definition at line 77 of file LoadAssetMaterialsCommandlet.h.

Referenced by ULoadAssetMaterialsCommandlet().

◆ DecalNamesMap

TMap<FString, FString> ULoadAssetMaterialsCommandlet::DecalNamesMap
private

Dictionary for translating the JSON file "decal_names" array to already loaded Material Instances, which are used to apply on the roads.

Definition at line 97 of file LoadAssetMaterialsCommandlet.h.

Referenced by ULoadAssetMaterialsCommandlet().

◆ DecalsProperties

FDecalsProperties ULoadAssetMaterialsCommandlet::DecalsProperties
private

Definition at line 110 of file LoadAssetMaterialsCommandlet.h.

Referenced by ULoadAssetMaterialsCommandlet().

◆ FilledData

bool ULoadAssetMaterialsCommandlet::FilledData
private

Definition at line 112 of file LoadAssetMaterialsCommandlet.h.

Referenced by ULoadAssetMaterialsCommandlet().

◆ MapObjectLibrary

UObjectLibrary* ULoadAssetMaterialsCommandlet::MapObjectLibrary
private

Used for loading maps in object library.

Loaded Data is stored in AssetDatas.

Definition at line 88 of file LoadAssetMaterialsCommandlet.h.

Referenced by ULoadAssetMaterialsCommandlet().

◆ NewWorldToLoad

UWorld* ULoadAssetMaterialsCommandlet::NewWorldToLoad
private

Definition at line 83 of file LoadAssetMaterialsCommandlet.h.

◆ ReadConfigFile

bool ULoadAssetMaterialsCommandlet::ReadConfigFile
private

Definition at line 114 of file LoadAssetMaterialsCommandlet.h.

Referenced by ULoadAssetMaterialsCommandlet().

◆ RoadPainterSubclass

TSubclassOf<ARoadPainterWrapper> ULoadAssetMaterialsCommandlet::RoadPainterSubclass
private

Subclass for acquiring the RoadPainter blueprint.

Definition at line 92 of file LoadAssetMaterialsCommandlet.h.

Referenced by ULoadAssetMaterialsCommandlet().

◆ TileData

FLargeMapTileData ULoadAssetMaterialsCommandlet::TileData
private

Definition at line 108 of file LoadAssetMaterialsCommandlet.h.

Referenced by ULoadAssetMaterialsCommandlet().

◆ World

UWorld* ULoadAssetMaterialsCommandlet::World
private

Definition at line 80 of file LoadAssetMaterialsCommandlet.h.

Referenced by ULoadAssetMaterialsCommandlet().

◆ XODRMap

boost::optional<carla::road::Map> ULoadAssetMaterialsCommandlet::XODRMap
private

Definition at line 102 of file LoadAssetMaterialsCommandlet.h.

Referenced by ULoadAssetMaterialsCommandlet().


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