MCPcopy Create free account
hub / github.com/MothCocoon/FlowGraph / CreateNode

Method CreateNode

Source/Flow/Private/FlowAsset.cpp:482–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480}
481
482UFlowNode* UFlowAsset::CreateNode(const UClass* NodeClass, UEdGraphNode* GraphNode)
483{
484 UFlowNode* NewNode = NewObject<UFlowNode>(this, NodeClass, NAME_None, RF_Transactional);
485 NewNode->SetGraphNode(GraphNode);
486
487 RegisterNode(GraphNode->NodeGuid, NewNode);
488 return NewNode;
489}
490
491void UFlowAsset::RegisterNode(const FGuid& NewGuid, UFlowNode* NewNode)
492{

Callers

nothing calls this directly

Calls 1

SetGraphNodeMethod · 0.80

Tested by

no test coverage detected