| 30 | } |
| 31 | |
| 32 | bool 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 | |
| 59 | bool FPCGExUberFilterElement::ExecuteInternal(FPCGContext* InContext) const |
| 60 | { |
nothing calls this directly
no outgoing calls
no test coverage detected