FFrontendFilter

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

ContentBrowser

Header

/Engine/Source/Editor/ContentBrowser/Public/FrontendFilterBase.h

Include

#include "FrontendFilterBase.h"

Syntax

class FFrontendFilter : public IFilter< FAssetFilterType >

Constructors

Name Description

Public function

FFrontendFilter

Functions

Name Description

Public function Virtual

void

 

ActiveStateChanged

(
    bool bActive
)

Notification that the filter became active or inactive

Protected function Const

void

 

BroadcastChangedEvent()

Public function

TSharedPtr< ...

 

GetCategory()

Public function Virtual Const

FLinearColor

 

GetColor()

Returns the color this filter button will be when displayed as a button

Public function Const

FText

 

GetDisplayName()

Returns the human readable name for this filter

Public function Virtual Const

FName

 

GetIconName()

Returns the name of the icon to use in menu entries

Public function Const

FString

 

GetName()

Returns the system name for this filter

Public function Const

FText

 

GetToolTipText()

Returns the tooltip for this filter, shown in the filters menu

Public function Virtual Const

bool

 

IsInverseFilter()

Returns true if the filter should be in the list when disabled and not in the list when enabled

Public function Virtual

void

 

LoadSettings

(
    const FString& IniFilename,
    const FString& IniSection,
    const FString& SettingsString
)

Called when the state of a particular Content Browser is being loaded from INI

Public function Virtual

void

 

ModifyContextMenu

(
    FMenuBuilder& MenuBuilder
)

Called when the right-click context menu is being built for this filter

Public function Virtual Const

void

 

SaveSettings

(
    const FString& IniFilename,
    const FString& IniSection,
    const FString& SettingsString
)

Called when the state of a particular Content Browser is being saved to INI

Public function

void

 

SetActive

(
    bool bInActive
)

Set this filter as active/inactive

Public function Virtual

void

 

SetCurrentFilter

(
    TArrayView< const FName > InSourceP...,
    const FContentBrowserDataFilter& I...
)

Invoke to set the source filter that is currently used to filter assets in the asset view

Overridden from IFilter

Name Description

Public function Virtual

FChangedEven...

 

OnChanged()

IFilter implementation.