Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectSubsystem.h |
| Include | #include "SmartObjectSubsystem.h" |
Syntax
USTRUCT (BlueprintType )
struct FSmartObjectRequestFilter
Remarks
Struct that can be used to filter results of a smart object request when trying to find or claim a smart object
Variables
| Type | Name | Description | |
|---|---|---|---|
| FGameplayTagQuery | ActivityRequirements | Only return slots whose activity tags are matching this query. | |
| TArray< TSubclassOf< USmartObjectBehaviorDefinition > > | BehaviorDefinitionClasses | If set, will filter out any SmartObject that uses different BehaviorDefinition classes. | |
| bool | bShouldEvaluateConditions | If true, will evaluate the slot and object conditions, otherwise will skip them. | |
| bool | bShouldIncludeClaimedSlots | If true, this search will contain claimed slots. | |
| bool | bShouldIncludeDisabledSlots | If true, this search will contain disabled slots. | |
| ESmartObjectClaimPriority | ClaimPriority | The user's claim priority. The search will contain already claimed slots at lower priority. | |
| TFunction< bool(FSmartObjectHandle)> | Predicate | Is set, will filter out any SmartObject that does not pass the predicate. | |
| FGameplayTagContainer | UserTags | Gameplay tags of the Actor or Entity requesting the Smart Object slot. |