UEditorFilterLibrary::ByClass

Filter the array based on the Object's class.

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 Class", DeterminesOutputType="ObjectClass"))
static TArray< class UObject * > ByClass
(
    const TArray< class UObject * > & TargetArray,
    TSubclassOf< class UObject > ObjectClass,
    EEditorScriptingFilterType FilterType
)

Remarks

Filter the array based on the Object's class.

Returns

The filtered list.

Parameters

Parameter

Description

TargetArray

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

ObjectClass

The Class of the object.

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