Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/FSmartObjectContainer
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSmartObjectCollectionEntry * AddSmartObject
(
TNotNull< USmartObjectComponent* > SOComponent, |
Creates a new entry for a given component. | SmartObjectPersistentCollection.h | |
FSmartObjectCollectionEntry * AddSmartObject
(
USmartObjectComponent& SOComponent, |
SmartObjectPersistentCollection.h |
AddSmartObject(TNotNull< USmartObjectComponent * >, bool &)
Description
Creates a new entry for a given component.
| Name | AddSmartObject |
| Type | function |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectPersistentCollection.h |
| Include Path | #include "SmartObjectPersistentCollection.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectPersistentCollection.cpp |
FSmartObjectCollectionEntry * AddSmartObject
(
TNotNull< USmartObjectComponent * > SOComponent,
bool & bOutAlreadyInCollection
)
Pointer to the created or existing entry. An unset value indicates a registration error.
Parameters
| Name | Remarks |
|---|---|
| SOComponent | SmartObject Component for which a new entry must be created |
| bOutAlreadyInCollection | Output parameter to indicate if an existing entry was returned instead of a newly created one. |
AddSmartObject(USmartObjectComponent &, bool &)
| Name | AddSmartObject |
| Type | function |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectPersistentCollection.h |
| Include Path | #include "SmartObjectPersistentCollection.h" |
FSmartObjectCollectionEntry * AddSmartObject
(
USmartObjectComponent & SOComponent,
bool & bOutAlreadyInCollection
)