UBlueprintNodeSpawner::ClearCachedTemplateNode

Removes the spawner's cached template node (if it has one), meaning that the next [GetTemplateNode()](API\Editor\BlueprintGraph\UBlueprintNodeSpawner\GetTemplateNode) call will spawn a new one (and that calls to [GetCachedTemplateNode()](API\Editor\BlueprintGraph\UBlueprintNodeSpawner\GetCachedTemplateNode) will return null).

Unreal Engine C++ API Reference > Editor > BlueprintGraph > UBlueprintNodeSpawner

References

   
Module BlueprintGraph
Header /Engine/Source/Editor/BlueprintGraph/Public/BlueprintNodeSpawner.h
Include #include "BlueprintNodeSpawner.h"
Source /Engine/Source/Editor/BlueprintGraph/Private/BlueprintNodeSpawner.cpp
void ClearCachedTemplateNode() const

Remarks

Removes the spawner's cached template node (if it has one), meaning that the next GetTemplateNode() call will spawn a new one (and that calls to GetCachedTemplateNode() will return null).


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library