Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule
Base class for Smart Object Slot annotations. Annotation is a specific type of slot definition data that has methods to visualize it.
| Name | FSmartObjectSlotAnnotation |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectAnnotation.h |
| Include Path | #include "SmartObjectAnnotation.h" |
Syntax
USTRUCT (Meta=(Hidden))
struct FSmartObjectSlotAnnotation : public FSmartObjectDefinitionData
Inheritance Hierarchy
- FSmartObjectDefinitionData → FSmartObjectSlotAnnotation
Derived Classes
- FSmartObjectAnnotation_SlotUserCollision
- FSmartObjectSlotEntranceAnnotation
- FSmartObjectSlotLinkAnnotation
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSmartObjectSlotAnnotation() |
SmartObjectAnnotation.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AdjustWorldTransform
(
const FTransform& SlotTransform, |
Called in editor to adjust the transform of the annotation. | SmartObjectAnnotation.h | |
virtual void DrawVisualization
(
FSmartObjectVisualizationContext& VisContext |
Methods to override to draw 3D visualization of the annotation. | SmartObjectAnnotation.h | |
virtual void DrawVisualizationHUD
(
FSmartObjectVisualizationContext& VisContext |
Methods to override to draw canvas visualization of the annotation. | SmartObjectAnnotation.h | |
virtual FTransform GetAnnotationWorldTransform
(
const FTransform& SlotTransform |
Returns the world space transform of the annotation. | SmartObjectAnnotation.h | |
virtual TOptional< FTransform > GetWorldTransform
(
const FTransform& SlotTransform |
SmartObjectAnnotation.h | ||
virtual bool HasTransform() |
SmartObjectAnnotation.h |