| IPlacementModeModule::RegisterPlaceableItemFilter()
|
Module |
|
Header |
/Engine/Source/Editor/PlacementMode/Public/IPlacementModeModule.h |
Include |
#include "IPlacementModeModule.h" |
bool RegisterPlaceableItemFilter
(
TPlaceableItemPredicate Predicate,
FName OwnerName
)
Registers system-level (not user) filtering for placeable items. An item is displayed if at least one of the predicate returns true or if there's none registered.
False on failure to register the predicate because one already exists under the specified owner name
Parameter |
Description |
---|---|
Predicate |
Function that returns true if the passed item should be available |
OwnerName |
Name of the predicate owner |