Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectSubsystem
Description
Checks whether given slot is free and can be claimed (i.e. slot and its parent are both enabled)
This methods doesn't evaluate the selection conditions. EvaluateSelectionConditions must be called separately.
| Name | CanBeClaimed |
| Type | function |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectSubsystem.h |
| Include Path | #include "SmartObjectSubsystem.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectSubsystem.cpp |
bool CanBeClaimed
(
const FSmartObjectSlotHandle & SlotHandle,
ESmartObjectClaimPriority ClaimPriority
) const
true if the indicated slot can be claimed, false otherwise
Parameters
| Name | Remarks |
|---|---|
| SlotHandle | Handle to a smart object slot. |
| ClaimPriority | Claim priority, a slot claimed at lower priority can be claimed by higher priority (unless already in use). |
See Also
- EvaluateSelectionConditions