Choose your operating system:
Windows
macOS
Linux
| FKismetCompilerContext::CleanAndSanitizeClass()
|
Module |
|
Header |
/Engine/Source/Editor/KismetCompiler/Public/KismetCompiler.h |
Include |
#include "KismetCompiler.h" |
Source |
/Engine/Source/Editor/KismetCompiler/Private/KismetCompiler.cpp |
virtual void CleanAndSanitizeClass
(
UBlueprintGeneratedClass * ClassToClean,
UObject *& OldCDO
)
Removes the properties and functions from a class, so that new ones can be created in its place
Parameter |
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 |