Navigation
API > API/Editor > API/Editor/BlueprintEditorLibrary
| Name | UBlueprintEditorLibrary |
| Type | class |
| Header File | /Engine/Source/Editor/BlueprintEditorLibrary/Public/BlueprintEditorLibrary.h |
| Include Path | #include "BlueprintEditorLibrary.h" |
Syntax
UCLASS (MinimalAPI)
class UBlueprintEditorLibrary : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UBlueprintEditorLibrary
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UBlueprintEditorLibrary
(
const FObjectInitializer& ObjectInitializer |
BlueprintEditorLibrary.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UEdGraph * AddFunctionGraph
(
UBlueprint* Blueprint, |
Adds a function to the given blueprint | BlueprintEditorLibrary.h |
|
static bool AddMemberVariable
(
UBlueprint* Blueprint, |
Adds a member variable to the specified blueprint with the specified type. | BlueprintEditorLibrary.h |
|
static bool AddMemberVariableWithValue
(
UBlueprint* Blueprint, |
Adds a member variable to the specified blueprint inferring the type from a provided value. | BlueprintEditorLibrary.h |
|
static void CompareAssetSaveVersionTo
(
const UObject* Asset, |
Compares the given assets save version to the VersionToCheck. | BlueprintEditorLibrary.h |
|
static void CompareSoftObjectSaveVersionTo
(
const TSoftObjectPtr< UObject > ObjectToCheck, |
Compares the given soft object's save version to the VersionToCheck. | BlueprintEditorLibrary.h |
|
static void CompileBlueprint
(
UBlueprint* Blueprint |
Compiles the given blueprint. | BlueprintEditorLibrary.h |
|
static UBlueprint * CreateBlueprintAssetWithParent
(
const FString& AssetPath, |
Creates a blueprint based on a specific parent, honoring registered custom blueprint types | BlueprintEditorLibrary.h |
|
static UEdGraph * FindEventGraph
(
UBlueprint* Blueprint |
Finds the event graph of the given blueprint. | BlueprintEditorLibrary.h |
|
static UEdGraph * FindGraph
(
UBlueprint* Blueprint, |
Finds the graph with the given name on the blueprint. Null if it doesn't have one. | BlueprintEditorLibrary.h |
|
static bool GatherUnusedVariables
(
const UBlueprint* Blueprint, |
Gathers any unused blueprint variables and populates the given array of FPropertys | BlueprintEditorLibrary.h | |
static UClass * GeneratedClass
(
UBlueprint* BlueprintObj |
Gets the class generated when this blueprint is compiled | BlueprintEditorLibrary.h |
|
static bool Generic_AddMemberVariableWithValue
(
UBlueprint* Blueprint, |
BlueprintEditorLibrary.h |
|
|
static FEdGraphPinType GetArrayType
(
const FEdGraphPinType& ContainedType |
BlueprintEditorLibrary.h |
|
|
static FEdGraphPinType GetBasicTypeByName
(
FName TypeName |
BlueprintEditorLibrary.h |
|
|
static UBlueprint * GetBlueprintAsset
(
UObject* Object |
Casts the provided Object to a Blueprint - the root asset type of a blueprint asset. | BlueprintEditorLibrary.h |
|
static UBlueprint * GetBlueprintForClass
(
UClass* Class, |
Looks up the UBlueprint that generated the provided class, if any. | BlueprintEditorLibrary.h |
|
static FEdGraphPinType GetClassReferenceType
(
const UClass* ClassType |
BlueprintEditorLibrary.h |
|
|
static FString GetCurrentEngineVersion () |
Returns a string which represents the current engine version (FEngineVersion::Current()) | BlueprintEditorLibrary.h |
|
static FEdGraphPinType GetMapType
(
const FEdGraphPinType& KeyType, |
BlueprintEditorLibrary.h |
|
|
static FEdGraphPinType GetObjectReferenceType
(
const UClass* ObjectType |
BlueprintEditorLibrary.h |
|
|
static FString GetSavedByEngineVersion
(
const UObject* Asset |
Returns a string representation of the engine version which the given asset was saved with. | BlueprintEditorLibrary.h |
|
static FEdGraphPinType GetSetType
(
const FEdGraphPinType& ContainedType |
BlueprintEditorLibrary.h |
|
|
static FEdGraphPinType GetStructType
(
const UScriptStruct* StructType |
BlueprintEditorLibrary.h |
|
|
static void RefreshAllOpenBlueprintEditors() |
Refresh any open blueprint editors | BlueprintEditorLibrary.h |
|
static void RefreshOpenEditorsForBlueprint
(
const UBlueprint* BP |
Attempt to refresh any open blueprint editors for the given asset | BlueprintEditorLibrary.h |
|
static void RemoveFunctionGraph
(
UBlueprint* Blueprint, |
Deletes the function of the given name on this blueprint. Does NOT replace function call sites. | BlueprintEditorLibrary.h |
|
static void RemoveGraph
(
UBlueprint* Blueprint, |
Removes the given graph from the blueprint if possible | BlueprintEditorLibrary.h |
|
static void RemoveUnusedNodes
(
UBlueprint* Blueprint |
Remove any nodes in this blueprint that have no connections made to them. | BlueprintEditorLibrary.h |
|
static int32 RemoveUnusedVariables
(
UBlueprint* Blueprint |
Deletes any unused blueprint created variables the given blueprint. | BlueprintEditorLibrary.h |
|
| Attempts to rename the given graph with a new name | BlueprintEditorLibrary.h |
|
|
static void ReparentBlueprint
(
UBlueprint* Blueprint, |
Attempts to reparent the given blueprint to the new chosen parent class. | BlueprintEditorLibrary.h |
|
static void ReplaceVariableReferences
(
UBlueprint* Blueprint, |
Replace any references of variables with the OldVarName to references of those with the NewVarName if possible | BlueprintEditorLibrary.h |
|
static void SetBlueprintVariableExposeOnSpawn
(
UBlueprint* Blueprint, |
Sets "Expose On Spawn" to true/false on a Blueprint variable | BlueprintEditorLibrary.h |
|
static void SetBlueprintVariableExposeToCinematics
(
UBlueprint* Blueprint, |
Sets "Expose To Cinematics" to true/false on a Blueprint variable | BlueprintEditorLibrary.h |
|
static void SetBlueprintVariableInstanceEditable
(
UBlueprint* Blueprint, |
Sets "Instance Editable" to true/false on a Blueprint variable | BlueprintEditorLibrary.h |
|
static void UpgradeOperatorNodes
(
UBlueprint* Blueprint |
Replace any old operator nodes (float + float, vector + float, int + vector, etc) with the newer Promotable Operator version of the node. | BlueprintEditorLibrary.h |
|