Navigation
API > API/Runtime > API/Runtime/MediaAssets > API/Runtime/MediaAssets/IMediaPlayerProxyInterface
- IMediaPlayerProxyInterface::ProxySetAspectRatio()
- UMediaPlateComponent::ProxySetAspectRatio()
References
| Module | MediaAssets |
| Header | /Engine/Source/Runtime/MediaAssets/Public/MediaPlayerProxyInterface.h |
| Include | #include "MediaPlayerProxyInterface.h" |
bool ProxySetAspectRatio
&40;
UMediaPlayer &42; InMediaPlayer
&41;
Remarks
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. True if you no longer need to call this.