UBlueprint::RegenerateClass

Called on the target when a class is loaded with ClassGeneratedBy is loaded.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Blueprint.h

Include

#include "Engine/Blueprint.h"

Source

/Engine/Source/Runtime/Engine/Private/Blueprint.cpp

Syntax

virtual UClass * RegenerateClass
(
    UClass * ClassToRegenerate,
    UObject * PreviousCDO
)

Remarks

Called on the target when a class is loaded with ClassGeneratedBy is loaded. Should regenerate the class if needed, and return the updated class

Returns

Updated instance of the class, if needed, or NULL if no regeneration was necessary