Navigation
API > API/Plugins > API/Plugins/MediaPlayerEditor > API/Plugins/MediaPlayerEditor/Widgets
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SCompoundWidget
- SMediaPlayerEditorViewer
References
| Module | MediaPlayerEditor |
| Header | /Engine/Plugins/Media/MediaPlayerEditor/Source/MediaPlayerEditor/Public/Widgets/SMediaPlayerEditorViewer.h |
| Include | #include "Widgets/SMediaPlayerEditorViewer.h" |
Syntax
class SMediaPlayerEditorViewer : public SCompoundWidget
Remarks
Implements the contents of the viewer tab in the UMediaPlayer asset editor.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs, |
Construct this widget | |
| void | EnableMouseControl
(
bool bIsEnabled |
Enables/disables using the mouse to control the viewport. | |
| void | MakeCaptureDeviceMenu
(
TArray< FMediaCaptureDeviceInfo >& DeviceInfos, |
Populate a menu from the given capture device information. | |
| void | Open the specified media URL. | ||
| void | SetDesiredPlayerName
(
FName PlayerName |
Set the name of the desired native media player. |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| void | OnDragEnter
(
const FGeometry& MyGeometry, |
DRAG AND DROP (DragDrop) Called during drag and drop when the drag enters a widget. | |
| void | OnDragLeave
(
const FDragDropEvent& DragDropEvent |
Called during drag and drop when the drag leaves a widget. | |
| FReply | OnDragOver
(
const FGeometry& MyGeometry, |
Called during drag and drop when the the mouse is being dragged over a widget. | |
| FReply | OnDrop
(
const FGeometry& MyGeometry, |
Called when the user is dropping something onto a widget; terminates drag and drop. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |