UEditorFilterLibrary

Utility class to filter a list of objects. Object should be in the World Editor.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

EditorScriptingUtilities

Header

/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Public/EditorFilterLibrary.h

Include

#include "EditorFilterLibrary.h"

Syntax

UCLASS()
class UEditorFilterLibrary : public UBlueprintFunctionLibrary

Remarks

Utility class to filter a list of objects. Object should be in the World Editor.

Functions

Name Description

Public function Static UFunction BlueprintCallable, Category, Meta

TArray< clas...

 

ByActorLabel

(
    const TArray< class AActor* > ...,
    const FString& NameSubString,
    EEditorScriptingStringMatchType Str...,
    EEditorScriptingFilterType FilterTy...,
    bool bIgnoreCase
)

Filter the array based on the Actor's label (what we see in the editor)

Public function Static UFunction BlueprintCallable, Category, Meta

TArray< clas...

 

ByActorTag

(
    const TArray< class AActor* > ...,
    FName Tag,
    EEditorScriptingFilterType FilterTy...
)

Filter the array by Tag the Actor contains

Public function Static UFunction BlueprintCallable, Category, Meta

TArray< clas...

 

ByClass

(
    const TArray< class UObject* >...,
    TSubclassOf< class UObject > Object...,
    EEditorScriptingFilterType FilterTy...
)

Filter the array based on the Object's class.

Public function Static UFunction BlueprintCallable, Category, Meta

TArray< clas...

 

ByIDName

(
    const TArray< class UObject* >...,
    const FString& NameSubString,
    EEditorScriptingStringMatchType Str...,
    EEditorScriptingFilterType FilterTy...
)

Filter the array based on the Object's ID name.

Public function Static UFunction BlueprintCallable, Category, Meta

TArray< clas...

 

ByLayer

(
    const TArray< class AActor* > ...,
    FName LayerName,
    EEditorScriptingFilterType FilterTy...
)

Filter the array by Layer the Actor belongs to.

Public function Static UFunction BlueprintCallable, Category, Meta

TArray< clas...

 

ByLevelName

(
    const TArray< class AActor* > ...,
    FName LevelName,
    EEditorScriptingFilterType FilterTy...
)

Filter the array by Level the Actor belongs to.

Public function Static UFunction BlueprintCallable, Category, Meta

TArray< clas...

 

BySelection

(
    const TArray< class AActor* > ...,
    EEditorScriptingFilterType FilterTy...
)

Filter the array based on Object's selection.