Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/FSmartObjectRuntime
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectRuntime.h |
| Include | #include "SmartObjectRuntime.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectRuntime.cpp |
USmartObjectComponent * GetOwnerComponent
(
ETrySpawnActorIfDehydrated TrySpawnActorIfDehydrated
) const
Remarks
Returns the actor associated to the smart object instance. Pointer to owning component if present.
Parameters
| Name | Description |
|---|---|
| TrySpawnActorIfDehydrated | Indicates if the instance should try to spawn the actor/component associated to the smartobject if it is currently owned by an instanced actor. |