Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectBlueprintFunctionLib-
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectBlueprintFunctionLibrary.h |
| Include | #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
)
Remarks
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. True if the requested operation succeeded; false otherwise
Parameters
| Name | Description |
|---|---|
| SmartObjectActors | The actors containing the smart objects to remove from the simulation |