Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectSubsystem
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectSubsystem.h |
| Include | #include "SmartObjectSubsystem.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectSubsystem.cpp |
bool SetSmartObjectActorEnabled
(
const AActor & SmartObjectActor,
bool bEnabled
)
Remarks
Enables or disables all smart objects associated to the provided actor (multiple components). True if all (at least one) smartobject components are found with their associated runtime and values set (or already set) to desired state; false otherwise.
Parameters
| Name | Description |
|---|---|
| SmartObjectActor | Smart object(s) parent actor. |
| bEnabled | If true enables, disables otherwise. |