CARLA
Loading...
Searching...
No Matches
ULoadAssetMaterialsCommandlet Class Reference

#include <LoadAssetMaterialsCommandlet.h>

Inheritance diagram for ULoadAssetMaterialsCommandlet:

Public Member Functions

 ULoadAssetMaterialsCommandlet ()
 Default constructor.

Private Member Functions

FString GetFirstPackagePath (const FString &PackageName) const
 Gets the first .Package.json file found in Unreal Content Directory with PackageName.

Private Attributes

TArray< FAssetData > AssetDatas
 Loaded assets from any object library.
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.
FDecalsProperties DecalsProperties
bool FilledData
UObjectLibrary * MapObjectLibrary
 Used for loading maps in object library.
UWorld * NewWorldToLoad
bool ReadConfigFile
TSubclassOf< ARoadPainterWrapper > RoadPainterSubclass
 Subclass for acquiring the RoadPainter blueprint.
FLargeMapTileData TileData
UWorld * World
std::optional< carla::road::Map > XODRMap

Detailed Description

Definition at line 43 of file LoadAssetMaterialsCommandlet.h.

Constructor & Destructor Documentation

◆ ULoadAssetMaterialsCommandlet()

ULoadAssetMaterialsCommandlet::ULoadAssetMaterialsCommandlet ( )

Default constructor.

Definition at line 26 of file LoadAssetMaterialsCommandlet.cpp.

References DecalNamesMap, FilledData, ReadConfigFile, and RoadPainterSubclass.

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.

References GetFirstPackagePath().

Referenced by GetFirstPackagePath().

Member Data Documentation

◆ AssetDatas

TArray<FAssetData> ULoadAssetMaterialsCommandlet::AssetDatas
private

Loaded assets from any object library.

Definition at line 78 of file LoadAssetMaterialsCommandlet.h.

◆ 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 98 of file LoadAssetMaterialsCommandlet.h.

Referenced by ULoadAssetMaterialsCommandlet().

◆ DecalsProperties

FDecalsProperties ULoadAssetMaterialsCommandlet::DecalsProperties
private

Definition at line 111 of file LoadAssetMaterialsCommandlet.h.

◆ FilledData

bool ULoadAssetMaterialsCommandlet::FilledData
private

Definition at line 113 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 89 of file LoadAssetMaterialsCommandlet.h.

◆ NewWorldToLoad

UWorld* ULoadAssetMaterialsCommandlet::NewWorldToLoad
private

Definition at line 84 of file LoadAssetMaterialsCommandlet.h.

◆ ReadConfigFile

bool ULoadAssetMaterialsCommandlet::ReadConfigFile
private

Definition at line 115 of file LoadAssetMaterialsCommandlet.h.

Referenced by ULoadAssetMaterialsCommandlet().

◆ RoadPainterSubclass

TSubclassOf<ARoadPainterWrapper> ULoadAssetMaterialsCommandlet::RoadPainterSubclass
private

Subclass for acquiring the RoadPainter blueprint.

Definition at line 93 of file LoadAssetMaterialsCommandlet.h.

Referenced by ULoadAssetMaterialsCommandlet().

◆ TileData

FLargeMapTileData ULoadAssetMaterialsCommandlet::TileData
private

Definition at line 109 of file LoadAssetMaterialsCommandlet.h.

◆ World

UWorld* ULoadAssetMaterialsCommandlet::World
private

Definition at line 81 of file LoadAssetMaterialsCommandlet.h.

◆ XODRMap

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

Definition at line 103 of file LoadAssetMaterialsCommandlet.h.


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