#include "OperatingSystemVideoPlayerProgramData.h"
UOperatingSystemVideoPlayerProgramData is an abstract class that represents the program data for a video player program in the operating system.
This class inherits from UOperatingSystemProgramData and provides additional functionality specific to video players.
◆ UOperatingSystemVideoPlayerProgramData()
UOperatingSystemVideoPlayerProgramData::UOperatingSystemVideoPlayerProgramData |
( |
| ) |
|
◆ K2_OnOpenFile()
Called when a file is opened in the video player program.
This function checks if there is a blueprint implementation of the OnOpenFile event. If there is a blueprint implementation, it calls the K2_OnOpenFile event and passes the opened file object as a parameter.
- Parameters
-
- See also
- UOperatingSystemVideoPlayerProgramData::K2_OnOpenFile
◆ OnCreate()
void UOperatingSystemVideoPlayerProgramData::OnCreate |
( |
| ) |
|
|
overridevirtual |
Called when the video player program data is created.
This function is responsible for initializing the video player program data. It is called when the program data is created and performs the following tasks:
- Calls the OnCreate function of the base class UOperatingSystemProgramData to perform any necessary initialization.
- Retrieves the video player settings from the parent program.
- Checks if the retrieved video player settings are valid. If not, it logs a warning message.
- See also
- UOperatingSystemVideoPlayerSettings
Reimplemented from UOperatingSystemProgramData.
◆ OnOpenFile()
This function is called when a file is opened in the video player program. This function checks if there is a blueprint implementation of the OnOpenFile event. If there is a blueprint implementation, it calls the K2_OnOpenFile event and passes the opened file object as a parameter.
- Parameters
-
- See also
- UOperatingSystemVideoPlayerProgramData::K2_OnOpenFile
◆ SetLoopVideo()
void UOperatingSystemVideoPlayerProgramData::SetLoopVideo |
( |
const bool | bNewLoop | ) |
|
Set to loop or not the video playback.
- Parameters
-
bNewLoop | True to loop the video. |
The documentation for this class was generated from the following files: