Navigation
API > API/Editor > API/Editor/UMGEditor > API/Editor/UMGEditor/FWidgetBlueprintCompilerContext
- FKismetCompilerContext::CleanAndSanitizeClass()
- FWidgetBlueprintCompilerContext::CleanAndSanitizeClass()
References
| Module | UMGEditor |
| Header | /Engine/Source/Editor/UMGEditor/Public/WidgetBlueprintCompiler.h |
| Include | #include "WidgetBlueprintCompiler.h" |
| Source | /Engine/Source/Editor/UMGEditor/Private/WidgetBlueprintCompiler.cpp |
virtual void CleanAndSanitizeClass
&40;
UBlueprintGeneratedClass &42; ClassToClean,
UObject &42;& OldCDO
&41;
Remarks
Removes the properties and functions from a class, so that new ones can be created in its place
Parameters
| Name | Description |
|---|---|
| ClassToClean | The UClass to scrub |
| OldCDO | Reference to the old CDO of the class, so we can copy the properties from it to the new class's CDO |