Navigation
API > API/Plugins > API/Plugins/MediaPlayerEditor
| Name | SMediaImage |
| Type | class |
| Header File | /Engine/Plugins/Media/MediaPlayerEditor/Source/MediaPlayerEditor/Public/Widgets/SMediaImage.h |
| Include Path | #include "Widgets/SMediaImage.h" |
Syntax
class SMediaImage : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SMediaImage
- FSlateControlledConstruction → SWidget → SCompoundWidget → SMediaImage
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SMediaImage() |
Default constructor. | Widgets/SMediaImage.h |
Structs
| Name | Remarks |
|---|---|
| FArguments |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| CachedMaterials | TMap< MediaPlayerEditor::MediaImage::ETextureChannelMask, TStrongObjectPtr< UMaterial > > | Widgets/SMediaImage.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BrushImageSize | TAttribute< FVector2D > | Brush image size attribute. | Widgets/SMediaImage.h | |
| Mask | MediaPlayerEditor::MediaImage::ETextureChannelMask | The active mask | Widgets/SMediaImage.h | |
| MaterialAInstance | TStrongObjectPtr< UMaterialInstanceDynamic > | The Slate brush that renders the material and its nodes. | Widgets/SMediaImage.h | |
| MaterialBrush | TSharedPtr< FSlateBrush > | The brush used to render the media. | Widgets/SMediaImage.h | |
| TextureWeak | TWeakObjectPtr< UTexture > | The texture being displayed | Widgets/SMediaImage.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs, |
Construct this widget | Widgets/SMediaImage.h | |
MediaPlayerEditor::MediaImage::ETextureChannelMask GetChannelMask() |
Returns the active mask. | Widgets/SMediaImage.h | |
void SetChannelMask
(
MediaPlayerEditor::MediaImage::ETextureChannelMask InMask |
Sets a channel-based mask for the image. | Widgets/SMediaImage.h |
Public Virtual
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Tick
(
const FGeometry& InAllottedGeometry, |
Tick this widget | Widgets/SMediaImage.h |