UBlueprintEditorLibrary::GetBlueprintAsset

Casts the provided Object to a Blueprint - the root asset type of a blueprint asset.

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
static [UBlueprint](API\Runtime\Engine\Engine\UBlueprint) * GetBlueprintAsset
(
    [UObject](API\Runtime\CoreUObject\UObject\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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library