Navigation
Unreal Engine C++ API Reference > Editor > KismetCompiler > FKismetCompilerContext
- FKismetCompilerContext::CleanAndSanitizeClass()
References
Module | KismetCompiler |
Header | /Engine/Source/Editor/KismetCompiler/Public/KismetCompiler.h |
Include | #include "KismetCompiler.h" |
Source | /Engine/Source/Editor/KismetCompiler/Private/KismetCompiler.cpp |
virtual void CleanAndSanitizeClass ( [UBlueprintGeneratedClass](API\Runtime\Engine\Engine\UBlueprintGeneratedClass) * ClassToClean, [UObject](API\Runtime\CoreUObject\UObject\UObject) *& OldCDO )
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 |