Navigation
Unreal Engine C++ API Reference > Editor > BlueprintGraph > UEdGraphSchema_K2
References
Module | BlueprintGraph |
Header | /Engine/Source/Editor/BlueprintGraph/Classes/EdGraphSchema_K2.h |
Include | #include "EdGraphSchema_K2.h" |
Source | /Engine/Source/Editor/BlueprintGraph/Private/EdGraphSchema_K2.cpp |
virtual [UEdGraphNode](API\Runtime\Engine\EdGraph\UEdGraphNode) * CreateSubstituteNode ( [UEdGraphNode](API\Runtime\Engine\EdGraph\UEdGraphNode) * Node, const [UEdGraph](API\Runtime\Engine\EdGraph\UEdGraph) * Graph, [FObjectInstancingGraph](API\Runtime\CoreUObject\UObject\FObjectInstancingGraph) * InstanceGraph, [TSet](API\Runtime\Core\Containers\TSet)< [FName](API\Runtime\Core\UObject\FName) > & InOutExtraNames ) const
Remarks
Attempts to construct a substitute node that is unique within its graph. If this call returns non-null node, it is expected for the caller to destroy the node that was passed in. NULL if a substitute node cannot be created; otherwise, the substitute node instance
Parameters
Name | Description |
---|---|
Node | The node to replace |
Graph | The destination graph |
InstanceGraph | Object instancing graph |
InOutExtraNames | List of extra names that are in-use from the substitution should be added to this list to prevent other substitutions from attempting to use them |