Navigation
API > API/Editor > API/Editor/PlacementMode > API/Editor/PlacementMode/IPlacementModeModule
Description
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.
Derived Overrides
| Name | RegisterPlaceableItemFilter |
| Type | function |
| Header File | /Engine/Source/Editor/PlacementMode/Public/IPlacementModeModule.h |
| Include Path | #include "IPlacementModeModule.h" |
bool RegisterPlaceableItemFilter
(
TPlaceableItemPredicate Predicate,
FName OwnerName
)
False on failure to register the predicate because one already exists under the specified owner name
Parameters
| Name | Remarks |
|---|---|
| Predicate | Function that returns true if the passed item should be available |
| OwnerName | Name of the predicate owner |