FKismetEditorUtilities::AddDefaultEventNode

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

Windows
MacOS
Linux

References

Module

UnrealEd

Header

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

Include

#include "Kismet2/KismetEditorUtilities.h"

Source

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

Syntax

static UK2Node_Event * AddDefaultEventNode
(
    UBlueprint * InBlueprint,
    UEdGraph * InGraph,
    FName InEventName,
    UClass * InEventClass,
    int32 & InOutNodePosY
)

Remarks

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

Returns

The K2Node_Event will be returned

Parameters

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

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