Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectSubsystem
Description
Evaluates conditions of the specified slot and its parent smart object. Optional user data can be provided to bind parameters in evaluation context based on the schema used by the object definition.
| Name | EvaluateSelectionConditions |
| Type | function |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectSubsystem.h |
| Include Path | #include "SmartObjectSubsystem.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectSubsystem.cpp |
bool EvaluateSelectionConditions
(
const FSmartObjectSlotHandle & SlotHandle,
const FConstStructView UserData
) const
True if all conditions are met; false otherwise
Parameters
| Name | Remarks |
|---|---|
| SlotHandle | Handle to the smart object slot |
| UserData | Additional data that could be provided to bind values in the conditions evaluation context |