38 static void TagActor(
const AActor &Actor,
bool bTagForSemanticSegmentation);
47 static void TagActorsInLevel(UWorld &World,
bool bTagForSemanticSegmentation);
49 static void TagActorsInLevel(ULevel &Level,
bool bTagForSemanticSegmentation);
59 static void GetTagsOfTaggedActor(
const AActor &Actor, TSet<crp::CityObjectLabel> &Tags);
64 return (Tag == GetTagOfTaggedComponent(Component));
78 const FString Path = Object->GetPathName();
79 TArray<FString> StringArray;
80 Path.ParseIntoArray(StringArray, TEXT(
"/"),
false);
81 return (StringArray.Num() > 4 ? GetLabelByFolderName(StringArray[4]) : crp::CityObjectLabel::None);
96 virtual void PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent)
override;
101 UPROPERTY(Category =
"Tagger", EditAnywhere)
102 bool bTriggerTagObjects = false;
104 UPROPERTY(Category = "Tagger", EditAnywhere)
105 bool bTagForSemanticSegmentation = false;