Navigation
API > API/Plugins > API/Plugins/MediaPlayerEditor > API/Plugins/MediaPlayerEditor/SMediaPlayerEditorViewer
Description
Sets a channel-based mask for the image.
If only a single channel is displayed, it will show in greyscale.
| Name | SetChannelMask |
| Type | function |
| Header File | /Engine/Plugins/Media/MediaPlayerEditor/Source/MediaPlayerEditor/Public/Widgets/SMediaPlayerEditorViewer.h |
| Include Path | #include "Widgets/SMediaPlayerEditorViewer.h" |
| Source | /Engine/Plugins/Media/MediaPlayerEditor/Source/MediaPlayerEditor/Private/Widgets/SMediaPlayerEditorViewer.cpp |
void SetChannelMask
(
MediaPlayerEditor::MediaImage::ETextureChannelMask InMask
)
Parameters
| Name | Remarks |
|---|---|
| InMask | to display. |