Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript > API/Plugins/GeometryScriptingCore/GeometryScript/UGeometryScriptL-_37
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/MeshAssetFunctions.h |
| Include | #include "GeometryScript/MeshAssetFunctions.h" |
| Source | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Private/MeshAssetFunctions.cpp |
UFUNCTION (BlueprintCallable, Category="GeometryScript|Materials")
static void ConvertMaterialMapToMaterialList
(
const TMap < FName , UMaterialInterface * > & MaterialMap,
TArray < UMaterialInterface * > & MaterialList,
TArray < FName > & MaterialSlotNames
)
Remarks
Converts material map to a material list and a slot names list. Null materials will be kept in the list, and the list will have the same number of elements as the map.