Navigation
Unreal Engine C++ API Reference > Editor > BlueprintGraph > FBlueprintNodeTemplateCache
References
Module | BlueprintGraph |
Header | /Engine/Source/Editor/BlueprintGraph/Public/BlueprintNodeTemplateCache.h |
Include | #include "BlueprintNodeTemplateCache.h" |
Source | /Engine/Source/Editor/BlueprintGraph/Private/BlueprintNodeTemplateCache.cpp |
bool CacheTemplateNode
(
UBlueprintNodeSpawner const * NodeSpawner,
UEdGraphNode * NewNode
)
Remarks
Attempts to cache the supplied node, and associates it with the specified spawner (so that we can remove it later if it is no longer needed). True if the node was successfully cached (the cache could be full, and therefore this could fail).
Parameters
Name | Description |
---|---|
NodeSpawner | Acts as the key for the given template node. |
NewNode | The template node you want stored. |