Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectSubsystem
Description
Returns pointer to the smart object changed delegate associated to the provided handle. The delegate is shared for all slots so listeners must filter using 'Event.SlotHandle'.
The delegate can be broadcast from any thread so it is the responsibility of the caller to make sure that the operations executed are safe.
| Name | GetSlotEventDelegate |
| 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 |
FOnSmartObjectEvent * GetSlotEventDelegate
(
const FSmartObjectSlotHandle & SlotHandle
)
Pointer to slot's delegate, or nullptr if slot does not exists.
Parameters
| Name | Remarks |
|---|---|
| SlotHandle | Handle to the smart object slot. |