Navigation
API > API/Plugins > API/Plugins/MediaViewer
Parameters used by the image viewers to paint their image.
| Name | FMediaImagePaintParams |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/MediaViewer/Source/MediaViewer/Public/ImageViewer/MediaImageViewer.h |
| Include Path | #include "ImageViewer/MediaImageViewer.h" |
Syntax
struct FMediaImagePaintParams
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllottedGeometry | const FGeometry & | Slate geometry for the panel. | ImageViewer/MediaImageViewer.h | |
| Args | const FPaintArgs & | Slate paint args. | ImageViewer/MediaImageViewer.h | |
| bParentEnabled | const bool | Whether the parent painted widget was enabled. | ImageViewer/MediaImageViewer.h | |
| DPIScale | const float | Scale of the panel. | ImageViewer/MediaImageViewer.h | |
| DrawElements | FSlateWindowElementList & | List of elements to draw into the layer. | ImageViewer/MediaImageViewer.h | |
| ImageOpacity | float | Opacity to draw the image with. 0-1. | ImageViewer/MediaImageViewer.h | |
| LayerId | int32 | Layer Id to draw the image onto. Increment it if you draw anything. | ImageViewer/MediaImageViewer.h | |
| MyCullingRect | const FSlateRect & | Culling rect for the panel. | ImageViewer/MediaImageViewer.h | |
| Orientation | const EOrientation | Orientation of the panel split. | ImageViewer/MediaImageViewer.h | |
| UVRange | const FFloatRange & | UV Range to draw the image on, either horizontally (L->R) and vertically (T->B). | ImageViewer/MediaImageViewer.h | |
| ViewerPosition | const FVector2D | Position of the panel in the window. | ImageViewer/MediaImageViewer.h | |
| ViewerSize | const FVector2D | Size of the panel in the window. | ImageViewer/MediaImageViewer.h | |
| WidgetStyle | const FWidgetStyle & | Slate for the panel. | ImageViewer/MediaImageViewer.h |