Navigation
API > API/Plugins > API/Plugins/DynamicMaterialEditor > API/Plugins/DynamicMaterialEditor/Components > API/Plugins/DynamicMaterialEditor/Components/UDMMaterialSlot
References
| Module | DynamicMaterialEditor |
| Header | /Engine/Plugins/Experimental/DynamicMaterial/Source/DynamicMaterialEditor/Public/Components/DMMaterialSlot.h |
| Include | #include "Components/DMMaterialSlot.h" |
| Source | /Engine/Plugins/Experimental/DynamicMaterial/Source/DynamicMaterialEditor/Private/Components/DMMaterialSlot.cpp |
UFUNCTION (BlueprintCallable, Category="Material Designer")
bool SetLayerMaterialPropertyAndReplaceOthers
(
UDMMaterialLayerObject * InLayer,
EDMMaterialPropertyType InPropertyFrom,
EDMMaterialPropertyType InPropertyTo
)
Remarks
Sets the material property of the given layer and changes all other layers matching that property to a different one.