Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule
Helper struct to wrap basic functionalities to store the index of a slot in a SmartObject definition Reference to a specific Smart Object slot in a Smart Object Definition. When placed on a slot definition data, the Index is resolved automatically when changed, on load and save.
| Name | FSmartObjectSlotReference |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectTypes.h |
| Include Path | #include "SmartObjectTypes.h" |
Syntax
USTRUCT ()
struct FSmartObjectSlotReference
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InvalidValue | uint8 | SmartObjectTypes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Index | uint8 | SmartObjectTypes.h | ||
| SlotID | FGuid | SmartObjectTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetIndex() |
SmartObjectTypes.h | ||
const FGuid & GetSlotID() |
SmartObjectTypes.h | ||
bool IsValid() |
SmartObjectTypes.h | ||
void SetIndex
(
const int32 InIndex |
SmartObjectTypes.h |