UEditorFilterLibrary::ByLevelName

Filter the array by Level the Actor belongs to.

Windows
MacOS
Linux

References

Module

EditorScriptingUtilities

Header

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

Include

#include "EditorFilterLibrary.h"

Source

/Engine/Plugins/Editor/EditorScriptingUtilities/Source/EditorScriptingUtilities/Private/EditorFilterLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Editor Scripting | Utilities | Filter",
          Meta=(DisplayName="Filter by Level Name", DeterminesOutputType="TargetArray"))
static TArray< class AActor * > ByLevelName
(
    const TArray< class AActor * > & TargetArray,
    FName LevelName,
    EEditorScriptingFilterType FilterType
)

Remarks

Filter the array by Level the Actor belongs to.

Returns

The filtered list.

Parameters

Parameter

Description

TargetArray

Array of Actor to filter. The array will not change.

LevelName

The name of the Level the actor belongs to (same name as in the ContentBrowser).

FilterType

Should include or not the array's item if it respects the condition.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss