Navigation
API > API/Editor > API/Editor/BlueprintEditorLibrary > API/Editor/BlueprintEditorLibrary/UBlueprintEditorLibrary
Description
Looks up the UBlueprint that generated the provided class, if any. Provides a 'true' exec pin to execute if there is a valid blueprint associated with the Class.
| Name | GetBlueprintForClass |
| Type | function |
| Header File | /Engine/Source/Editor/BlueprintEditorLibrary/Public/BlueprintEditorLibrary.h |
| Include Path | #include "BlueprintEditorLibrary.h" |
| Source | /Engine/Source/Editor/BlueprintEditorLibrary/Private/BlueprintEditorLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Blueprint Upgrade Tools",
Meta=(ExpandBoolAsExecs="bDoesClassHaveBlueprint"))
static UBlueprint * GetBlueprintForClass
(
UClass * Class,
bool & bDoesClassHaveBlueprint
)
The blueprint that generated the class, nullptr if the UClass is native or otherwise cooked
Parameters
| Name | Remarks |
|---|---|
| Class | The class to look up the blueprint for |
| bDoesClassHaveBlueprint | Whether the provided class had a blueprint |