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

Method CanPasteHere

Source/FlowEditor/Private/Graph/Nodes/FlowGraphNode.cpp:652–661  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

650}
651
652bool UFlowGraphNode::CanPasteHere(const UEdGraph* TargetGraph) const
653{
654 const UFlowGraph* FlowGraph = Cast<UFlowGraph>(TargetGraph);
655 if (FlowGraph == nullptr)
656 {
657 return false;
658 }
659
660 return Super::CanPasteHere(TargetGraph) && FlowGraph->GetFlowAsset()->IsNodeOrAddOnClassAllowed(NodeInstanceClass.Get());
661}
662
663TSharedPtr<SGraphNode> UFlowGraphNode::CreateVisualWidget()
664{

Callers

nothing calls this directly

Calls 3

GetMethod · 0.80
GetFlowAssetMethod · 0.45

Tested by

no test coverage detected