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