Navigation
API > API/Plugins > API/Plugins/MediaViewer
| Name | FMediaImagePaintSettings |
| Type | struct |
| Header File | /Engine/Plugins/Media/MediaViewer/Source/MediaViewer/Public/ImageViewer/MediaImageViewer.h |
| Include Path | #include "ImageViewer/MediaImageViewer.h" |
Syntax
USTRUCT ()
struct FMediaImagePaintSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEnableMipOverride | bool | Whether to enable the MipOverride | ImageViewer/MediaImageViewer.h |
|
| MipOverride | uint8 | The requested mip level. If the mip isn't available, the highest available value will be used. | ImageViewer/MediaImageViewer.h |
|
| Offset | FVector | Offset from the origin (center) of the viewer. | ImageViewer/MediaImageViewer.h |
|
| Rotation | FRotator | Rotation about the offset, for 3d objects. | ImageViewer/MediaImageViewer.h |
|
| Scale | float | The scale of the image. A scale of 2 will mean the image is twice as big. | ImageViewer/MediaImageViewer.h |
|
| Tint | FLinearColor | Color to tint the image brush with. | ImageViewer/MediaImageViewer.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint8 GetMipLevel() |
Always returns a Mip value, even if unset, will default to 0. | ImageViewer/MediaImageViewer.h | |
TOptional< uint8 > GetMipOverride() |
Returns a Mip value, if enabled. | ImageViewer/MediaImageViewer.h |