Navigation
API > API/Plugins > API/Plugins/DynamicMaterialEditor > API/Plugins/DynamicMaterialEditor/UDynamicMaterialModelEditorOnlyD-
Description
Swaps the material properties from one slot to another, unless both slots exist and/or are the same. Ensuring that the To Property exists.
| Name | EnsureSwapSlotMaterialProperty |
| Type | function |
| Header File | /Engine/Plugins/VirtualProduction/DynamicMaterial/Source/DynamicMaterialEditor/Public/Model/DynamicMaterialModelEditorOnlyData.h |
| Include Path | #include "Model/DynamicMaterialModelEditorOnlyData.h" |
| Source | /Engine/Plugins/VirtualProduction/DynamicMaterial/Source/DynamicMaterialEditor/Private/Model/DynamicMaterialModelEditorOnlyData.cpp |
void EnsureSwapSlotMaterialProperty
(
EDMMaterialPropertyType InPropertyFrom,
EDMMaterialPropertyType InPropertyTo
)