UBlueprintNodeSpawner::GetTemplateNode

Retrieves a cached template for the node that this is set to spawn.

Windows
MacOS
Linux

References

Module

BlueprintGraph

Header

/Engine/Source/Editor/BlueprintGraph/Public/BlueprintNodeSpawner.h

Include

#include "BlueprintNodeSpawner.h"

Source

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

Syntax

UEdGraphNode * GetTemplateNode
(
    UEdGraph * TargetGraph,
    FBindingSet const & Bindings
) const

Remarks

Retrieves a cached template for the node that this is set to spawn. Will instantiate a new template if one didn't previously exist. If the template-node is not compatible with any of our cached UEdGraph outers, then we use TargetGraph as a model to create one that will work.

Returns

Should return a new/cached template-node (but could be null, or some pre-existing node... depends on the sub-class's Invoke() method).

Parameters

Parameter

Description

TargetGraph

Optional param that defines a compatible graph outer (used as an achetype if we don't have a compatible outer on hand).

Bindings

Objects to bind to the template 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