Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/Kismet2/KismetEditorUtilities.h |
Include |
#include "Kismet2/KismetEditorUtilities.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/Kismet2/Kismet2.cpp |
static UK2Node_Event * AddDefaultEventNode
(
UBlueprint * InBlueprint,
UEdGraph * InGraph,
FName InEventName,
UClass * InEventClass,
int32 & InOutNodePosY
)
Add a default event node to the graph, this node will also be in a disabled state and will spawn with a call to it's parent if available
The K2Node_Event will be returned
Parameter |
Description |
---|---|
InBlueprint |
Blueprint this event will be a part of |
InGraph |
The graph to spawn the event node in |
InEventName |
The name of the event function |
InEventClass |
The class this event can be found in |
InOutNodePosY |
Position to spawn the node at, will return with an offset more suitable to offset the next node |