Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UEdGraphSchema
Description
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.
| Name | CreateSubstituteNode |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/EdGraph/EdGraphSchema.h |
| Include Path | #include "EdGraph/EdGraphSchema.h" |
virtual UEdGraphNode * CreateSubstituteNode
(
UEdGraphNode * Node,
const UEdGraph * Graph,
FObjectInstancingGraph * InstanceGraph,
TSet < FName > & InOutExtraNames
) const
NULL if a substitute node cannot be created; otherwise, the substitute node instance
Parameters
| Name | Remarks |
|---|---|
| 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 |