FKismetCompilerContext::CleanAndSanitizeClass

Removes the properties and functions from a class, so that new ones can be created in its place

Windows
MacOS
Linux

Override Hierarchy

References

Module

KismetCompiler

Header

/Engine/Source/Editor/KismetCompiler/Public/KismetCompiler.h

Include

#include "KismetCompiler.h"

Source

/Engine/Source/Editor/KismetCompiler/Private/KismetCompiler.cpp

Syntax

virtual void CleanAndSanitizeClass
(
    UBlueprintGeneratedClass * ClassToClean,
    UObject *& OldCDO
)

Remarks

Removes the properties and functions from a class, so that new ones can be created in its place

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss