SAssetFilterBar::SetAssetTypeFilterCheckState

Set the check box state of the specified filter (in the filter drop down) and pin/unpin a filter widget on/from the filter bar.

Unreal Engine C++ API Reference > Editor > EditorWidgets > Filters > SAssetFilterBar

References

   
Module EditorWidgets
Header /Engine/Source/Editor/EditorWidgets/Public/Filters/SAssetFilterBar.h
Include #include "Filters/SAssetFilterBar.h"
void SetAssetTypeFilterCheckState
(
    const [FTopLevelAssetPath](API\Runtime\CoreUObject\UObject\FTopLevelAssetPath) & InClassPath,
    ECheckBoxState InCheckState,
    bool bEnableFilter
)

Remarks

Set the check box state of the specified filter (in the filter drop down) and pin/unpin a filter widget on/from the filter bar. When a filter is pinned (was not already pinned), it is activated if requested and deactivated when unpinned.

Parameters

Name Description
InClassPath The Class the filter is associated with (must exist in the widget)
InCheckState The CheckState to apply to the flter
bEnableFilter Whether the filter should be enabled when it is pinned

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library