Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectSubsystem
Description
Indicates if the object/slot referred to by the given handle are still accessible in the simulation. This should only be required when a handle is stored and later needed to access slot or object information (e.g. SlotView) Otherwise a valid ClaimHandle can be use directly after calling 'Claim'.
| Name | IsClaimedSmartObjectValid |
| 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 IsClaimedSmartObjectValid
(
const FSmartObjectClaimHandle & ClaimHandle
) const
True if the claim handle is valid and its associated object is accessible; false otherwise.
Parameters
| Name | Remarks |
|---|---|
| ClaimHandle | Handle to a claimed slot returned by any of the Claim methods. |