FKismetCompilerContext::EnsureProperGeneratedClass

Backwards Compatability: Ensures that the passed in TargetClass is of the proper type (e.g. BlueprintGeneratedClass, AnimBlueprintGeneratedClass), and NULLs the reference if it is not

Choose your operating system:

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 EnsureProperGeneratedClass
(
    UClass *& TargetClass
)

Remarks

Backwards Compatability: Ensures that the passed in TargetClass is of the proper type (e.g. BlueprintGeneratedClass, AnimBlueprintGeneratedClass), and NULLs the reference if it is not