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 |
Classes
| Name | Remarks |
|---|---|
| FInternalReferenceCollector |
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BrushImageSize | TAttribute< FVector2D > | Brush image size attribute. | Widgets/SMediaImage.h | |
| Collector | FInternalReferenceCollector | Collector to keep the UObject alive. | Widgets/SMediaImage.h | |
| FInternalReferenceCollector | friend | Widgets/SMediaImage.h | ||
| Material | TObjectPtr< UMaterial > | The material that wraps the video texture for display in an SImage. | Widgets/SMediaImage.h | |
| MaterialBrush | TSharedPtr< FSlateBrush > | The Slate brush that renders the material. | Widgets/SMediaImage.h | |
| TextureSampler | TObjectPtr< UMaterialExpressionTextureSample > | The video texture sampler in the wrapper material. | Widgets/SMediaImage.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs, |
Construct this widget | Widgets/SMediaImage.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Tick
(
const FGeometry& InAllottedGeometry, |
Tick this widget | Widgets/SMediaImage.h |