Navigation
API > API/Runtime > API/Runtime/MediaAssets > API/Runtime/MediaAssets/UMediaPlayer
References
| Module | MediaAssets |
| Header | /Engine/Source/Runtime/MediaAssets/Public/MediaPlayer.h |
| Include | #include "MediaPlayer.h" |
| Source | /Engine/Source/Runtime/MediaAssets/Private/Assets/MediaPlayer.cpp |
FIntPoint GetVideoTrackDimensions
&40;
int32 TrackIndex,
int32 FormatIndex
&41; const
Remarks
Get the current dimensions of the specified video track. Video dimensions (in pixels).
Parameters
| Name | Description |
|---|---|
| TrackIndex | The index of the track, or INDEX_NONE for the selected one. |
| FormatIndex | Index of the track format, or INDEX_NONE for the selected one. |