Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/FSmartObjectRuntime > API/Plugins/SmartObjectsModule/FSmartObjectRuntime/SetEnabled
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectRuntime.h |
| Include | #include "SmartObjectRuntime.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectRuntime.cpp |
void SetEnabled
(
bool bEnabled,
uint16 ReasonMask
)
Remarks
Enables or disables the entire smart object using the bit mask from a reason tag.
Parameters
| Name | Description |
|---|---|
| bEnabled | Flag indicating if the object should be enable or not. |
| ReasonMask | Bit mask associated to the reason for disabling the object. |