UBlueprintEventNodeSpawner::Create

Creates a new [UBlueprintEventNodeSpawner](API\Editor\BlueprintGraph\UBlueprintEventNodeSpawner) for custom events.

Windows
MacOS
Linux

References

Module

BlueprintGraph

Header

/Engine/Source/Editor/BlueprintGraph/Classes/BlueprintEventNodeSpawner.h

Include

#include "BlueprintEventNodeSpawner.h"

Source

/Engine/Source/Editor/BlueprintGraph/Private/BlueprintEventNodeSpawner.cpp

Syntax

static UBlueprintEventNodeSpawner * Create
(
    TSubclassOf< UK2Node_Event > NodeClass,
    FName CustomEventName,
    UObject * Outer
)

Remarks

Creates a new UBlueprintEventNodeSpawner for custom events. The CustomEventName can be left blank if the node will pick one itself on instantiation.

Returns

A newly allocated instance of this class.

Parameters

Parameter

Description

NodeClass

The event node type that you want this to spawn.

CustomEventName

The name you want assigned to the event.

Outer

Optional outer for the new spawner (if left null, the transient package will be used).

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