| 16 | PCGEX_INITIALIZE_ELEMENT(CopyToPoints) |
| 17 | |
| 18 | bool FPCGExCopyToPointsElement::Boot(FPCGExContext* InContext) const |
| 19 | { |
| 20 | if (!FPCGExPointsProcessorElement::Boot(InContext)) { return false; } |
| 21 | |
| 22 | PCGEX_CONTEXT_AND_SETTINGS(CopyToPoints) |
| 23 | |
| 24 | Context->TargetsDataFacade = PCGExData::TryGetSingleFacade(Context, PCGEx::SourceTargetsLabel, false, true); |
| 25 | if (!Context->TargetsDataFacade) { return false; } |
| 26 | |
| 27 | PCGEX_FWD(TransformDetails) |
| 28 | if (!Context->TransformDetails.Init(Context, Context->TargetsDataFacade.ToSharedRef())) { return false; } |
| 29 | |
| 30 | PCGEX_FWD(TargetsAttributesToClusterTags) |
| 31 | if (!Context->TargetsAttributesToClusterTags.Init(Context, Context->TargetsDataFacade)) { return false; } |
| 32 | |
| 33 | if (Settings->bDoMatchByTags) |
| 34 | { |
| 35 | PCGEX_FWD(MatchByTagValue) |
| 36 | if (!Context->MatchByTagValue.Init(Context, Context->TargetsDataFacade.ToSharedRef())) { return false; } |
| 37 | } |
| 38 | |
| 39 | Context->TargetsForwardHandler = Settings->TargetsForwarding.GetHandler(Context->TargetsDataFacade); |
| 40 | |
| 41 | return true; |
| 42 | } |
| 43 | |
| 44 | bool FPCGExCopyToPointsElement::ExecuteInternal(FPCGContext* InContext) const |
| 45 | { |
nothing calls this directly
no test coverage detected