Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectBlueprintFunctionLib-
Description
Removes from the simulation all smart objects for multiple actors.
Removing a smart object from the simulation will interrupt all active interactions. If you simply need to make the object unavailable for queries consider using one of the SetSmartObjectEnabled functions so active interactions can be gracefully completed.
| Name | RemoveMultipleSmartObjects |
| Type | function |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectBlueprintFunctionLibrary.h |
| Include Path | #include "SmartObjectBlueprintFunctionLibrary.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectBlueprintFunctionLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="SmartObject", Meta=(ReturnDisplayName="bSuccess"))
static bool RemoveMultipleSmartObjects
(
const TArray < AActor * > & SmartObjectActors
)
True if the requested operation succeeded; false otherwise
Parameters
| Name | Remarks |
|---|---|
| SmartObjectActors | The actors containing the smart objects to remove from the simulation |
See Also
-
SetSmartObjectEnabled
-
SetMultipleSmartObjectsEnabled