Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectDefinition.h |
| Include | #include "SmartObjectDefinition.h" |
Syntax
USTRUCT&40;&41;
struct FSmartObjectSlotDefinition
Remarks
Persistent and sharable definition of a smart object slot.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FGameplayTagContainer | ActivityTags | Tags identifying this slot's use case. | |
| TArray< TObjectPtr< USmartObjectBehaviorDefinition > > | BehaviorDefinitions | All available definitions associated to this slot. | |
| bool | bEnabled | Whether the slot is enable initially. | |
| TArray< FInstancedStruct > | Data | Custom data (struct inheriting from SmartObjectSlotDefinitionData) that can be added to the slot definition and accessed through a FSmartObjectSlotView | |
| FColor | DEBUG_DrawColor | ||
| ESmartObjectSlotShape | DEBUG_DrawShape | ||
| float | DEBUG_DrawSize | ||
| FGuid | ID | ||
| FName | Name | ||
| FVector3f | Offset | Offset relative to the parent object where the slot is located. | |
| FRotator3f | Rotation | Rotation relative to the parent object. | |
| FGameplayTagContainer | RuntimeTags | Initial runtime tags. | |
| FWorldConditionQueryDefinition | SelectionPreconditions | Preconditions that must pass for the slot to be selected. | |
| FGameplayTagQuery | UserTagFilter | This slot is available only for users matching this query. |