Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/FConstSmartObjectSlotView
Description
Returns a reference to the definition of the slot's parent object. Method will fail a check if called on an invalid SlotView.
The definition fragment is always created and assigned when creating an entity associated to a slot so a valid SlotView is guaranteed to be able to provide it.
| Name | GetSmartObjectDefinition |
| Type | function |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectRuntime.h |
| Include Path | #include "SmartObjectRuntime.h" |
const USmartObjectDefinition & GetSmartObjectDefinition() const