MCPcopy Create free account
hub / github.com/PCGEx/PCGExtendedToolkit / IsValid

Method IsValid

Source/PCGExtendedToolkit/Private/Graph/PCGExGraph.cpp:100–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100bool FPCGExGraphBuilderDetails::IsValid(const TSharedPtr<PCGExGraph::FSubGraph>& InSubgraph) const
101{
102 if (bRemoveBigClusters)
103 {
104 if (InSubgraph->Edges.Num() > MaxEdgeCount || InSubgraph->Nodes.Num() > MaxVtxCount) { return false; }
105 }
106
107 if (bRemoveSmallClusters)
108 {
109 if (InSubgraph->Edges.Num() < MinEdgeCount || InSubgraph->Nodes.Num() < MinVtxCount) { return false; }
110 }
111
112 return true;
113}
114
115bool PCGExGraph::BuildIndexedEdges(
116 const TSharedPtr<PCGExData::FPointIO>& EdgeIO,

Callers 15

BuildSubGraphsMethod · 0.45
ExecuteInternalMethod · 0.45
ProcessMethod · 0.45
GatherActorsMethod · 0.45
GatherComponentsMethod · 0.45
StartComponentSearchMethod · 0.45
StopComponentSearchMethod · 0.45
BlendSubPointsMethod · 0.45
InitializeOutputMethod · 0.45
ValidateMethod · 0.45

Calls 1

NumMethod · 0.80

Tested by

no test coverage detected