| 45 | } |
| 46 | |
| 47 | void FPCGExAttributeToTagDetails::Tag(const int32 TagIndex, TSet<FString>& InTags) const |
| 48 | { |
| 49 | if (bAddIndexTag) { InTags.Add(IndexTagPrefix + ":" + FString::Printf(TEXT("%d"), TagIndex)); } |
| 50 | |
| 51 | if (!Getters.IsEmpty()) |
| 52 | { |
| 53 | const FPCGPoint& Point = SourceDataFacade->GetIn()->GetPoint(TagIndex); |
| 54 | for (const TSharedPtr<PCGEx::TAttributeBroadcaster<FString>>& Getter : Getters) |
| 55 | { |
| 56 | FString Tag = Getter->SoftGet(TagIndex, Point, TEXT("")); |
| 57 | if (Tag.IsEmpty()) { continue; } |
| 58 | if (bPrefixWithAttributeName) { Tag = Getter->GetName() + ":" + Tag; } |
| 59 | InTags.Add(Tag); |
| 60 | } |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | void FPCGExAttributeToTagDetails::Tag(const int32 TagIndex, const TSharedPtr<PCGExData::FPointIO>& PointIO) const |
| 65 | { |
no test coverage detected