Navigation
API > API/Runtime > API/Runtime/MediaAssets > API/Runtime/MediaAssets/UMediaPlayer > API/Runtime/MediaAssets/UMediaPlayer/GetMediaInfo
References
| Module | MediaAssets |
| Header | /Engine/Source/Runtime/MediaAssets/Public/MediaPlayer.h |
| Include | #include "MediaPlayer.h" |
template<typename T>
bool GetMediaInfo
&40;
T & Result,
FName InfoName
&41; const
Remarks
Templated version of GetMediaInfo. No need to deal with variants. True if the information is found, false if not.
Parameters
| Name | Description |
|---|---|
| T | Type of the information. |
| Result | If the information is found and is the correct type, then this will be set to its value. It will not be set otherwise. |
| InfoName | Name of the information. |