Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule
Deprecated * Deprecated struct. Please use FSmartObjectRuntimeSlot instead.
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectRuntime.h |
| Include | #include "SmartObjectRuntime.h" |
Syntax
USTRUCT&40;&41;
struct FSmartObjectRuntime
Remarks
Struct to store and manage state of a runtime instance associated to a given smart object definition
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Provide default constructor to be able to compile template instantiation 'UScriptStruct::TCppStructOps |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const USmartObjectDefinition & | |||
| const FOnSmartObjectEvent & | |||
| FOnSmartObjectEvent & | |||
| FSmartObjectRuntimeSlot & | GetMutableSlot
(
const int32 Index |
||
| AActor * | |||
| FSmartObjectHandle | |||
| const FSmartObjectRuntimeSlot & | GetSlot
(
const int32 Index |
||
| TConstArrayView< FSmartObjectRuntimeSlot > | GetSlots () |
||
| const FGameplayTagContainer & | GetTags () |
Returns all tags assigned to the smart object instance | |
| const FTransform & | GetTransform () |
||
| bool | IsEnabled () |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| FSmartObjectSlotHandle | GetSlotHandle
(
const int32 Index |
You can access the slots directly via GetSlots(). | |
| PRAGMA_DISABLE_DEPRECATION_WARNINGSFOnSmartObjectTagChanged & | Tag changes are now broadcasted using FOnSmartObjectEvent. Please use GetEventDelegate(). | ||
| bool | IsDisabled () |
Use IsEnabled instead. |