Navigation
API > API/Editor > API/Editor/BlueprintEditorLibrary > API/Editor/BlueprintEditorLibrary/UBlueprintEditorLibrary
Description
Casts the provided Object to a Blueprint - the root asset type of a blueprint asset. Note that the blueprint asset itself is editor only and not present in cooked assets.
| Name | GetBlueprintAsset |
| 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=(Keywords="cast"))
static UBlueprint * GetBlueprintAsset
(
UObject * Object
)
UBlueprint* The blueprint type of the given object, nullptr if the object is not a blueprint.
Parameters
| Name | Remarks |
|---|---|
| Object | The object we need to get the UBlueprint from |