![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IMediaAssetsModule.h>
Inheritance diagram for IMediaAssetsModule:Interface for the MediaAssets module.
|
inlinevirtual |
Virtual destructor.
|
pure virtual |
Implemented in FMediaAssetsModule.
Creates an object that implements IMediaSourceRendererInterface.
Implemented in FMediaAssetsModule.
| IMediaAssetsModule::DECLARE_DELEGATE_RetVal | ( | UObject * | , |
| FOnCreateMediaSourceRenderer | |||
| ) |
Delegate to create an object that implements IMediaSourceRendererInterface.
| IMediaAssetsModule::DECLARE_DELEGATE_RetVal_TwoParams | ( | UMediaPlayer * | , |
| FOnGetPlayerFromObject | , | ||
| UObject * | , | ||
| UObject *& | |||
| ) |
Delegate to get a player from a UObject.
| IMediaAssetsModule::DECLARE_MULTICAST_DELEGATE_ThreeParams | ( | FMediaStateChangedDelegate | , |
| const TArray< FString > & | , | ||
| uint8 | , | ||
| bool | |||
| ) |
Delegate that reacts to change in Media state (Play, Stop, Pause etc.)
|
pure virtual |
Call this to get a media player (and proxy object) from an object. This will query any plugins that have called RegisterGetPlayerFromObject.
The proxy object will implement IMediaPlayerProxyInterface.
| Object | Object to get the player from. |
| PlayerProxy | Will be set to the proxy object (or nullptr if none). |
Implemented in FMediaAssetsModule.
|
pure virtual |
Register a delegate to create an object that implements IMediaSourceRendererInterface.
Implemented in FMediaAssetsModule.
|
pure virtual |
Plugins should call this so they can provide a function to get a media player from an object.
| Delegate | Delegate to get a media player. |
Implemented in FMediaAssetsModule.
|
pure virtual |
Subscribes to the event that is called whenever any of Media state changes (such as play button was pressed).
Implemented in FMediaAssetsModule.
Unregisters the delegate passed in with RegisterCreateMediaSourceRenderer.
Implemented in FMediaAssetsModule.
Call this to unregister a delegate.
| DelegateID | ID returned from RegisterGetPlayerFromObject. |
Implemented in FMediaAssetsModule.
|
pure virtual |
Removes event handling.
Implemented in FMediaAssetsModule.