/Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectVisualizationContext.h
Helper class used for Smart Object Annotation rendering.
struct FSmartObjectVisualizationContext
int32
AnnotationIndex
Indexof the visualized annotation.
bool
bIsAnnotationSelected
True, if the annotation is currently selected
bool
bIsSlotSelected
True, if the slot is currently selected
FCanvas*
Canvas
Canvas to render to during DrawVisualizationHUD().
constUSmartObj...
Definition
Pointer to the visualized Smart Object definition.
constUFont...
Font
Pointer to valid engine small font.
FTransform
OwnerLocalToWorld
Transform of the owner object.
FPrimitiveDrawI...
PDI
Primitive draw interface to draw with during DrawVisualization().
constAActor&#...
PreviewActor
Actor used for previewing the Smart Object.
TSubclassOf<US...
PreviewValidationFilterClass
Validation filter class used for previewing.
FLinearColor
SelectedColor
Color for a selection, cached fromUEditorStyleSettings.
int32
SlotIndex
Indexof the visualized slot, or invalid of the annotation is on the object.
constFSceneVie...
View
Current view to draw to.
constUWorld&
World
World associated with the drawing.