Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/FConstSmartObjectView
Description
Returns a reference to the definition of the instance's parent object. Method will fail a check if called on an invalid view.
The definition fragment is always created and assigned when creating an entity associated to an instance so a valid view 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