Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule
Struct to store and manage state of a runtime instance associated to a given slot definition
| Name | FSmartObjectRuntimeSlot |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectRuntime.h |
| Include Path | #include "SmartObjectRuntime.h" |
Syntax
USTRUCT ()
struct FSmartObjectRuntimeSlot
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSmartObjectRuntimeSlot() |
Provide default constructor to be able to compile template instantiation 'UScriptStruct::TCppStructOps |
SmartObjectRuntime.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ArePreconditionsInitialized() |
Indicates if preconditions were successfully initialized. | SmartObjectRuntime.h | |
bool CanBeClaimed
(
ESmartObjectClaimPriority ClaimPriority |
Sets the slot claimed. | SmartObjectRuntime.h | |
FInstancedStructContainer & GetMutableStateData() |
SmartObjectRuntime.h | ||
FTransform GetSlotLocalTransform() |
SmartObjectRuntime.h | ||
FVector3f GetSlotOffset() |
SmartObjectRuntime.h | ||
FRotator3f GetSlotRotation() |
SmartObjectRuntime.h | ||
FTransform GetSlotWorldTransform
(
const FTransform& OwnerTransform |
SmartObjectRuntime.h | ||
ESmartObjectSlotState GetState() |
SmartObjectRuntime.h | ||
const FInstancedStructContainer & GetStateData() |
SmartObjectRuntime.h | ||
const FGameplayTagContainer & GetTags() |
SmartObjectRuntime.h | ||
FConstStructView GetUserData() |
SmartObjectRuntime.h | ||
bool IsEnabled() |
SmartObjectRuntime.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Claim
(
const FSmartObjectUserHandle& InUser, |
SmartObjectRuntime.h | ||
bool Release
(
const FSmartObjectClaimHandle& ClaimHandle, |
SmartObjectRuntime.h |