21 , _bPaintHitBox(false)
26 SLATE_ARGUMENT(
bool, bPaintHitBox)
27 SLATE_ARGUMENT(
float, Opacity)
28 SLATE_ARGUMENT(
bool, bShowPressedState)
35 void Construct(const FArguments& InArgs);
37 void ConstructDecorator() const;
39 virtual int32 OnPaint(const FPaintArgs& Args, const FGeometry& AllottedGeometry, const FSlateRect& MyCullingRect, FSlateWindowElementList& OutDrawElements, int32 LayerId, const FWidgetStyle& InWidgetStyle,
bool bParentEnabled) const override;
41 void SetOpacity(const
float InOpacity) { Opacity = InOpacity; }
47 FName GetComponentName()
const;
49 bool IsInside(FVector2D AbsoluteLocation)
const;
51 SConstraintCanvas::FSlot* CreateChildSlot(FAnchors ChildAnchors,
const FVector2D ChildAlignment, FVector4f ChildAnchorOffset);
54 TSharedPtr<SOverlay> OverlayWidget;
56 TSharedPtr<SConstraintCanvas> CanvasWidget;
58 TObjectPtr<ULayoutComponent> Component;
60 TArray<TSharedPtr<SComponentPreviewer>> Children;
63 uint8 bShowPressedState:1;