Navigation
API > API/Runtime > API/Runtime/MediaAssets > API/Runtime/MediaAssets/IMediaPlayerProxyInterface
Description
Sets the aspect ratio of the proxy based on what the media player is playing.
This should be called every frame until it returns true. It might take a few frames to discover what the aspect ratio is. Also some proxies might not support aspect ratios, so they will also return true so you do not call this endlessly.
| Name | ProxySetAspectRatio |
| Type | function |
| Header File | /Engine/Source/Runtime/MediaAssets/Public/MediaPlayerProxyInterface.h |
| Include Path | #include "MediaPlayerProxyInterface.h" |
bool ProxySetAspectRatio
(
UMediaPlayer * InMediaPlayer
)
True if you no longer need to call this.