Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/FSmartObjectRuntime
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetEnabled
(
FGameplayTag ReasonTag, |
Enables or disables the entire smart object. | SmartObjectRuntime.h | |
void SetEnabled
(
bool bEnabled, |
Enables or disables the entire smart object using the bit mask from a reason tag. | SmartObjectRuntime.h |
SetEnabled(FGameplayTag, bool)
Description
Enables or disables the entire smart object.
| Name | SetEnabled |
| Type | function |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectRuntime.h |
| Include Path | #include "SmartObjectRuntime.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectRuntime.cpp |
void SetEnabled
(
FGameplayTag ReasonTag,
bool bEnabled
)
Parameters
| Name | Remarks |
|---|---|
| ReasonTag | Valid Tag to specify the reason for changing the enabled state of the object. Method will ensure if not valid (i.e. None). |
| bEnabled | Flag indicating if the object should be enabled or not. |
SetEnabled(bool, uint16)
Description
Enables or disables the entire smart object using the bit mask from a reason tag.
| Name | SetEnabled |
| Type | function |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectRuntime.h |
| Include Path | #include "SmartObjectRuntime.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectRuntime.cpp |
void SetEnabled
(
bool bEnabled,
uint16 ReasonMask
)
Parameters
| Name | Remarks |
|---|---|
| bEnabled | Flag indicating if the object should be enabled or not. |
| ReasonMask | Bit mask associated to the reason for disabling the object. |