![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Inheritance diagram for FMediaAssetsModule:Protected Member Functions | |
| virtual bool | Exec_Runtime (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) override |
Protected Member Functions inherited from FExec | |
| virtual bool | Exec_Dev (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) |
| virtual bool | Exec_Editor (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) |
Additional Inherited Members | |
Static Public Member Functions inherited from FSelfRegisteringExec | |
| static CORE_API bool | StaticExec (UWorld *Inworld, const TCHAR *Cmd, FOutputDevice &Ar) |
Implements the MediaAssets module.
|
inlineoverridevirtual |
Implements IMediaAssetsModule.
Creates an object that implements IMediaSourceRendererInterface.
Implements IMediaAssetsModule.
|
inlineoverrideprotectedvirtual |
Implementation of Exec that is called on all targets where UE_ALLOW_EXEC_COMMANDS is true
Reimplemented from FExec.
|
inlineoverridevirtual |
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). |
Implements IMediaAssetsModule.
|
inlineoverridevirtual |
Register a delegate to create an object that implements IMediaSourceRendererInterface.
Implements IMediaAssetsModule.
|
inlineoverridevirtual |
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. |
Implements IMediaAssetsModule.
|
inlineoverridevirtual |
Subscribes to the event that is called whenever any of Media state changes (such as play button was pressed).
Implements IMediaAssetsModule.
Called before the module is unloaded, right before the module object is destroyed. During normal shutdown, this is called in reverse order that modules finish StartupModule(). This means that, as long as a module references dependent modules in it's StartupModule(), it can safely reference those dependencies in ShutdownModule() as well.
Reimplemented from IModuleInterface.
Called right after the module DLL has been loaded and the module object has been created Load dependent modules here, and they will be guaranteed to be available during ShutdownModule. ie:
FModuleManager::Get().LoadModuleChecked(TEXT("HTTP"));
Reimplemented from IModuleInterface.
Override this to set whether your module is allowed to be unloaded on the fly
Reimplemented from IModuleInterface.
Unregisters the delegate passed in with RegisterCreateMediaSourceRenderer.
Implements IMediaAssetsModule.
|
inlineoverridevirtual |
Call this to unregister a delegate.
| DelegateID | ID returned from RegisterGetPlayerFromObject. |
Implements IMediaAssetsModule.
|
inlineoverridevirtual |
Removes event handling.
Implements IMediaAssetsModule.