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

Method BuildChain

Source/PCGExtendedToolkit/Private/Graph/PCGExChain.cpp:24–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 }
23
24 void FNodeChain::BuildChain(const TSharedRef<FCluster>& Cluster, const TSharedPtr<TArray<int8>>& Breakpoints)
25 {
26 ON_SCOPE_EXIT
27 {
28 bIsLeaf = Cluster->GetNode(Seed.Node)->IsLeaf() || Cluster->GetNode(Links.Last().Node)->IsLeaf();
29 if (bIsClosedLoop) { bIsLeaf = false; }
30 FixUniqueHash();
31 };
32
33 TSet<int32> Visited;
34

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected