Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectSubsystem
Description
Indicates if the object referred to by the given handle is still accessible in the simulation. This should only be required when a handle is stored and used later.
| Name | IsSmartObjectValid |
| 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 IsSmartObjectValid
(
const FSmartObjectHandle Handle
) const
True if the handle is valid and its associated object is accessible; false otherwise.
Parameters
| Name | Remarks |
|---|---|
| Handle | Handle to the smart object. |