Navigation
API > API/Plugins > API/Plugins/MediaPlate
| Name | FMediaPlateModule |
| Type | class |
| Header File | /Engine/Plugins/Media/MediaPlate/Source/MediaPlate/Public/MediaPlateModule.h |
| Include Path | #include "MediaPlateModule.h" |
Syntax
class FMediaPlateModule : public IModuleInterface
Implements Interfaces
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnMediaPlateApplyMaterial | FOnMediaPlateApplyMaterial | Add to this if you want a callback when a media plate applies a material to itself. | MediaPlateModule.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| GetPlayerFromObjectID | int32 | ID for our delegate. | MediaPlateModule.h | |
| OnMediaPlateStateChangedHandle | FDelegateHandle | Handle for the subscribed event | MediaPlateModule.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMediaPlayer * GetMediaPlayer
(
UObject* Object, |
Call this to get the media player from a media plate object. | MediaPlateModule.h | |
void OnMediaPlateStateChanged
(
const TArray< FString >& InActorsPathNames, |
Called when Media playback state changed. | MediaPlateModule.h |
Overridden from IModuleInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ShutdownModule() |
MediaPlateModule.h | ||
virtual void StartupModule() |
IModuleInterface implementation | MediaPlateModule.h |