Navigation
API > API/Runtime > API/Runtime/MediaAssets > API/Runtime/MediaAssets/UMediaPlayer
Description
Clean up before this object is destroyed. Normally you would not need to call this, but if you want to clean up resources before garbage collection (e.g. you are in the editor) then this could be helpful.
| Name | CleanUpBeforeDestroy |
| Type | function |
| Header File | /Engine/Source/Runtime/MediaAssets/Public/MediaPlayer.h |
| Include Path | #include "MediaPlayer.h" |
| Source | /Engine/Source/Runtime/MediaAssets/Private/Assets/MediaPlayer.cpp |
void CleanUpBeforeDestroy()