Navigation
API > API/Editor > API/Editor/BlueprintEditorLibrary > API/Editor/BlueprintEditorLibrary/UBlueprintEditorLibrary
Description
Creates a function-graph override of an inherited function. The graph's terminator nodes inherit the parent's signature and a CallParentFunction node is emitted.
If a function graph with this name already exists it is returned unchanged. Fails if the function is already overridden as an event node (remove that node first).
| Name | AddFunctionOverride |
| 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 Editor")
static UEdGraph * AddFunctionOverride
(
UBlueprint * Blueprint,
FName FunctionName
)
The override function graph, or nullptr if the function cannot be overridden on this Blueprint.
Parameters
| Name | Remarks |
|---|---|
| Blueprint | The blueprint to add the override to |
| FunctionName | Name of an inherited overridable function. |