Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule
Annotation to allow to find slots based on a Gameplay Tag. This can be used to reuse same behavior on different slots, allowing to use a tag to identify a related slot.
| Name | FSmartObjectSlotLinkAnnotation |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/Annotations/SmartObjectSlotLinkAnnotation.h |
| Include Path | #include "Annotations/SmartObjectSlotLinkAnnotation.h" |
Syntax
USTRUCT (Meta=(DisplayName="Slot Link"))
struct FSmartObjectSlotLinkAnnotation : public FSmartObjectSlotAnnotation
Inheritance Hierarchy
- FSmartObjectDefinitionData → FSmartObjectSlotAnnotation → FSmartObjectSlotLinkAnnotation
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSmartObjectSlotLinkAnnotation() |
Annotations/SmartObjectSlotLinkAnnotation.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LinkedSlot | FSmartObjectSlotReference | The slot the annotation points at. | Annotations/SmartObjectSlotLinkAnnotation.h |
|
| Tag | FGameplayTag | Tag to identify this slot. | Annotations/SmartObjectSlotLinkAnnotation.h |
|
Functions
Public
Overridden from FSmartObjectSlotAnnotation
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void DrawVisualization
(
FSmartObjectVisualizationContext& VisContext |
Methods to override to draw 3D visualization of the annotation. | Annotations/SmartObjectSlotLinkAnnotation.h | |
virtual void DrawVisualizationHUD
(
FSmartObjectVisualizationContext& VisContext |
Methods to override to draw canvas visualization of the annotation. | Annotations/SmartObjectSlotLinkAnnotation.h |