Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectPersistentCollection.h |
| Include | #include "SmartObjectPersistentCollection.h" |
Syntax
USTRUCT&40;&41;
struct FSmartObjectCollectionEntry
Remarks
Struct representing a unique registered component in the collection actor
Variables
| Type | Name | Description | |
|---|---|---|---|
| FBox | Bounds | ||
| uint32 | DefinitionIdx | ||
| friend | FSmartObjectContainer | Only the collection can access the path since the way we reference the component might change to better support streaming so keeping this as encapsulated as possible | |
| FSmartObjectHandle | Handle | ||
| FSoftObjectPath | Path | ||
| FGameplayTagContainer | Tags | ||
| FTransform | Transform |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSmartObjectCollectionEntry
(
const FSmartObjectHandle SmartObjectHandle, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FBox & | GetBounds () |
||
| USmartObjectComponent * | GetComponent () |
||
| uint32 | |||
| const FSmartObjectHandle & | GetHandle () |
||
| const FSoftObjectPath & | GetPath () |
||
| const FGameplayTagContainer & | GetTags () |
||
| FTransform | GetTransform () |
||
| FBox | |||
| void | RecreateHandle
(
const UWorld& World |
Created new FSmartObjectHandle based on entry's contents. | |
| void | SetDefinitionIndex
(
const uint32 InDefinitionIndex |