Module |
|
Header |
/Engine/Plugins/Editor/MeshEditor/Source/MeshEditor/Public/MeshEditorUtilities.h |
Include |
#include "MeshEditorUtilities.h" |
static bool AssignMaterialToPolygons
(
UMaterialInterface * SelectedMaterial,
UEditableMesh * EditableMesh,
const TArray< FMeshElement > & PolygonElements
)
Assigns a material to polygons
whether successful
Parameter |
Description |
---|---|
SelectedMaterial |
The material to assign |
EditableMesh |
The mesh for which the polygons belong to |
PolygonElements |
The polygons to assign the material to |