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

Method FCluster

Source/PCGExtendedToolkit/Private/Graph/PCGExCluster.cpp:80–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78#pragma region FCluster
79
80 FCluster::FCluster(const TSharedPtr<PCGExData::FPointIO>& InVtxIO, const TSharedPtr<PCGExData::FPointIO>& InEdgesIO,
81 const TSharedPtr<PCGEx::FIndexLookup>& InNodeIndexLookup):
82 NodeIndexLookup(InNodeIndexLookup), VtxIO(InVtxIO), EdgesIO(InEdgesIO)
83 {
84 Nodes = MakeShared<TArray<FNode>>();
85 Edges = MakeShared<TArray<FEdge>>();
86 Bounds = FBox(ForceInit);
87
88 VtxPoints = &InVtxIO->GetPoints(PCGExData::ESource::In);
89 }
90
91 FCluster::FCluster(const TSharedRef<FCluster>& OtherCluster,
92 const TSharedPtr<PCGExData::FPointIO>& InVtxIO,

Callers

nothing calls this directly

Calls 4

InitArrayFunction · 0.85
GetNumMethod · 0.80
NumMethod · 0.80
ResetMethod · 0.45

Tested by

no test coverage detected