Navigation
Unreal Engine C++ API Reference > Editor > BlueprintEditorLibrary > UBlueprintEditorLibrary
References
Module | BlueprintEditorLibrary |
Header | /Engine/Source/Editor/BlueprintEditorLibrary/Public/BlueprintEditorLibrary.h |
Include | #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
)
Remarks
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. UBlueprint* The blueprint type of the given object, nullptr if the object is not a blueprint.
Parameters
Name | Description |
---|---|
Object | The object we need to get the UBlueprint from |