Navigation
API > API/Plugins > API/Plugins/NaniteAssemblyEditorUtils > API/Plugins/NaniteAssemblyEditorUtils/UNaniteAssemblyBuilder
Description
Creates a material slot in the specified material slot group with a given material. If the slot name provided is "None", the resulting material slot will take the name of the material.
| Name | AddMaterialSlot |
| Type | function |
| Header File | /Engine/Plugins/Experimental/NaniteAssemblyEditorUtils/Source/NaniteAssemblyEditorUtils/Public/NaniteAssemblyBuilder.h |
| Include Path | #include "NaniteAssemblyBuilder.h" |
| Source | /Engine/Plugins/Experimental/NaniteAssemblyEditorUtils/Source/NaniteAssemblyEditorUtils/Private/NaniteAssemblyBuilder.cpp |
UFUNCTION (BlueprintCallable, Category="Materials")
int32 AddMaterialSlot
(
UMaterialInterface * Material,
int32 MaterialSlotGroup,
FName SlotName
)