Navigation
API > API/Plugins > API/Plugins/MediaViewer > API/Plugins/MediaViewer/FMediaImageViewer
Description
Returns a widget to place on the overlay. If the widget is on the A position, it should be left aligned. If the widget is in the B position, it should be right aligned. The above alignment will be used for the widget's slot. If no overlay is required, return nullptr.
| Name | GetOverlayWidget |
| Type | function |
| Header File | /Engine/Plugins/Experimental/MediaViewer/Source/MediaViewer/Public/ImageViewer/MediaImageViewer.h |
| Include Path | #include "ImageViewer/MediaImageViewer.h" |
virtual TSharedPtr < SWidget > GetOverlayWidget
(
EMediaImageViewerPosition InPosition,
const TSharedPtr < SMediaViewerTab > & InViewerTab
)