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
(
UMaterialInterface * NewMaterial,
bool bReplaceAll
)
Remarks
Replace material in slot
Parameters
| Name | Description |
|---|---|
| NewMaterial | The new material apply to slot |
| bReplaceAll | Whether it should be applied to all slots |