FBlueprintEditorUtils::GetLevelFromBlueprint

If a blueprint is directly tied to a level (level script and anonymous blueprints), this will return a pointer to that level

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Kismet2/BlueprintEditorUtils.h

Include

#include "Kismet2/BlueprintEditorUtils.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Kismet2/BlueprintEditorUtils.cpp

Syntax

static ULevel * GetLevelFromBlueprint
(
    const UBlueprint * Blueprint
)

Remarks

If a blueprint is directly tied to a level (level script and anonymous blueprints), this will return a pointer to that level

Returns

The level, if any, tied to this blueprint

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss