UEditorFilterLibrary::ByLayer

Filter the array by Layer 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 Layer", DeterminesOutputType="TargetArray"))
static TArray< class AActor * > ByLayer
(
    const TArray< class AActor * > & TargetArray,
    FName LayerName,
    EEditorScriptingFilterType FilterType
)

Remarks

Filter the array by Layer the Actor belongs to.

Returns

The filtered list.

Parameters

Parameter

Description

TargetArray

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

LayerName

The exact name of the Layer the actor belongs to.

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