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