Navigation
API > API/Editor > API/Editor/PropertyEditor > API/Editor/PropertyEditor/FMaterialItemView
References
| Module | PropertyEditor |
| Header | /Engine/Source/Editor/PropertyEditor/Public/MaterialList.h |
| Include | #include "MaterialList.h" |
| Source | /Engine/Source/Editor/PropertyEditor/Private/MaterialList.cpp |
void ReplaceMaterial
&40;
UMaterialInterface &42; NewMaterial,
bool bReplaceAll
&41;
Remarks
Replace material in slot
Parameters
| Name | Description |
|---|---|
| NewMaterial | The new material apply to slot |
| bReplaceAll | Whether it should be applied to all slots |