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, BlueprintPure=False, Category="SmartObject",
Meta=(WorldContext="WorldContextObject", ReturnDisplayName="bSuccess"))
static bool FindSmartObjectsInTargetingRequest
(
UObject * WorldContextObject,
const FSmartObjectRequestFilter & Filter,
const FTargetingRequestHandle TargetingHandle,
TArray < FSmartObjectRequestResult > & OutResults,
const AActor * UserActor
)
Remarks
Search the results of the given targeting handle request for smart objects that match the request criteria True if at least one candidate was found.
Parameters
| Name | Description |
|---|---|
| WorldContextObject | Object used to fetch the SmartObjectSubsystem of its associated world. |
| Filter | Parameters defining the search area and criteria |
| TargetingHandle | The targeting handle of the request that will have its results searched for smart objects |
| OutResults | List of smart object slot candidates found in range |
| UserActor | Used to create additional data that could be provided to bind values in the conditions evaluation context |