Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectSubsystem
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectSubsystem.h |
| Include | #include "SmartObjectSubsystem.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectSubsystem.cpp |
bool CanBeClaimed
(
const FSmartObjectSlotHandle SlotHandle,
ESmartObjectClaimPriority ClaimPriority
) const
Remarks
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. true if the indicated slot can be claimed, false otherwise
Parameters
| Name | Description |
|---|---|
| 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). |