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

Method Tag

Source/PCGExtendedToolkit/Private/Data/PCGExDataForward.cpp:47–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void 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
64void FPCGExAttributeToTagDetails::Tag(const int32 TagIndex, const TSharedPtr<PCGExData::FPointIO>& PointIO) const
65{

Callers 12

CompleteWorkMethod · 0.45
ProcessMethod · 0.45
CompleteWorkMethod · 0.45
WritePathMethod · 0.45
ProcessCellMethod · 0.45
ExecuteTaskMethod · 0.45
BuildPathMethod · 0.45
WriteMethod · 0.45
StageComponentDataMethod · 0.45
ProcessSinglePointMethod · 0.45
ProcessSinglePointMethod · 0.45

Calls 7

TEXTFunction · 0.85
IsValidNameFunction · 0.85
SoftGetMethod · 0.80
GetNameMethod · 0.80
AddMethod · 0.45
IsEmptyMethod · 0.45
AppendMethod · 0.45

Tested by

no test coverage detected