Navigation
API > API/Runtime > API/Runtime/MediaAssets
Inheritance Hierarchy
- IMediaPlayerProxyInterface
- UMediaPlateComponent
References
| Module | MediaAssets |
| Header | /Engine/Source/Runtime/MediaAssets/Public/MediaPlayerProxyInterface.h |
| Include | #include "MediaPlayerProxyInterface.h" |
Syntax
class IMediaPlayerProxyInterface
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FMediaSourceCacheSettings & | Gets the cache settings for the player. | ||
| float | GetProxyRate () |
Get the desired playback rate. | |
| bool | Call this to see if you can control the media player, or if the owning object is using it. | ||
| UMediaSource * | ProxyGetMediaSourceFromIndex
(
int32 Index |
Get the media source for a given index. | |
| UMediaTexture * | ProxyGetMediaTexture
(
int32 LayerIndex, |
Get a media texture that we can assign a media player to. | |
| void | ProxyReleaseMediaTexture
(
int32 LayerIndex, |
Release a media texture that was retrieved from ProxyGetMediaTexture. | |
| bool | ProxySetAspectRatio
(
UMediaPlayer* InMediaPlayer |
Sets the aspect ratio of the proxy based on what the media player is playing. | |
| void | ProxySetTextureBlend
(
int32 LayerIndex, |
Set the blend value for a texture that was retrieved from ProxyGetMediaTexture. | |
| bool | SetProxyRate
(
float Rate |
Changes the desired playback rate. |