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

Method Validate

Source/PCGExtendedToolkit/Private/Paths/PCGExPaths.cpp:11–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9#define PCGEX_NAMESPACE PCGExPaths
10
11bool FPCGExPathOutputDetails::Validate(TArray<FPCGPoint>& InPathPoints) const
12{
13 if (InPathPoints.Num() < 2) { return false; }
14 if (bRemoveSmallPaths && InPathPoints.Num() < MinPointCount) { return false; }
15 if (bRemoveLargePaths && InPathPoints.Num() > MaxPointCount) { return false; }
16 return true;
17}
18
19void FPCGExPathClosedLoopDetails::Init()
20{

Callers 2

CompleteMethod · 0.45
BootMethod · 0.45

Calls 1

NumMethod · 0.80

Tested by

no test coverage detected