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

Method Boot

Source/PCGExtendedToolkit/Private/Misc/PCGExUberFilter.cpp:32–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32bool FPCGExUberFilterElement::Boot(FPCGExContext* InContext) const
33{
34 if (!FPCGExPointsProcessorElement::Boot(InContext)) { return false; }
35
36 PCGEX_CONTEXT_AND_SETTINGS(UberFilter)
37
38 if (Settings->Mode == EPCGExUberFilterMode::Write)
39 {
40 PCGEX_VALIDATE_NAME(Settings->ResultAttributeName)
41 return true;
42 }
43
44 Context->Inside = MakeShared<PCGExData::FPointIOCollection>(Context);
45 Context->Outside = MakeShared<PCGExData::FPointIOCollection>(Context);
46
47 Context->Inside->OutputPin = PCGExPointFilter::OutputInsideFiltersLabel;
48 Context->Outside->OutputPin = PCGExPointFilter::OutputOutsideFiltersLabel;
49
50 if (Settings->bSwap)
51 {
52 Context->Inside->OutputPin = PCGExPointFilter::OutputOutsideFiltersLabel;
53 Context->Outside->OutputPin = PCGExPointFilter::OutputInsideFiltersLabel;
54 }
55
56 return true;
57}
58
59bool FPCGExUberFilterElement::ExecuteInternal(FPCGContext* InContext) const
60{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected