|
| static bool | OpenDirectCamera (UMediaPlayer *MediaPlayer, int ResolutionX, int ResolutionY, float Fps, UDirectCameraCameraTypeEnum CameraType, int CameraIndex) |
| static void | DirectCameraGetResolution (UMediaPlayer *MediaPlayer, int32 &OutWidth, int32 &OutHeight, float &OutFps) |
| | Get the current camera resolution (width and height) and fps from the DirectCameraMediaPlayer.
|
| static UDirectCameraCaptureSettings * | GetCameraCaptureSettingsFromMediaPlayer (UMediaPlayer *MediaPlayer) |
| | Get camera capture settings from a DirectCameraMediaPlayer.
|
| static bool | FillCameraCaptureSettingsFromMediaPlayer (UMediaPlayer *MediaPlayer, UDirectCameraCaptureSettings *OutSettings) |
| static bool | SetCameraCaptureSettingsOnMediaPlayer (UMediaPlayer *MediaPlayer, UDirectCameraCaptureSettings *Settings) |
| | Set camera capture settings on a DirectCameraMediaPlayer.
|
| static FString | Conv_UDirectCameraCaptureSettingsToString (UDirectCameraCaptureSettings *Settings) |
| | get camera capture settings as a string for logging
|
| static float | ConvertDioptersToMeters (float Diopters) |
| | Convert focus distance from diopters to meters.
|
| static float | ConvertMetersToDiopters (float Meters) |
| | Convert focus distance from meters to diopters.
|
| *static DirectCameraWhiteBalanceMode | GetWhiteBalance_Mode (UMediaPlayer *MediaPlayer) |
| | Get white balance mode.
|
| static void | SetWhiteBalance_Mode (UMediaPlayer *MediaPlayer, DirectCameraWhiteBalanceMode Value) |
| | Set white balance mode.
|
| static DirectCameraFocusMode | GetFocus_Mode (UMediaPlayer *MediaPlayer) |
| | Get focus mode.
|
| static void | SetFocus_Mode (UMediaPlayer *MediaPlayer, DirectCameraFocusMode Value) |
| | Set focus mode.
|
| static DirectCameraExposureMode | GetExposure_Mode (UMediaPlayer *MediaPlayer) |
| | Get exposure mode.
|
| static void | SetExposure_Mode (UMediaPlayer *MediaPlayer, DirectCameraExposureMode Value) |
| | Set exposure mode.
|
| static DirectCameraFlashMode | GetFlash_Mode (UMediaPlayer *MediaPlayer) |
| | Get flash mode.
|
| static void | SetFlash_Mode (UMediaPlayer *MediaPlayer, DirectCameraFlashMode Value) |
| | Set flash mode.
|
| static DirectCameraAEMode | GetAE_Mode (UMediaPlayer *MediaPlayer) |
| | Get auto exposure mode.
|
| static void | SetAE_Mode (UMediaPlayer *MediaPlayer, DirectCameraAEMode Value) |
| | Set auto exposure mode.
|
| static DirectCameraAFMode | GetAF_Mode (UMediaPlayer *MediaPlayer) |
| | Get auto focus mode.
|
| static void | SetAF_Mode (UMediaPlayer *MediaPlayer, DirectCameraAFMode Value) |
| | Set auto focus mode.
|
| static DirectCameraStabilizationMode | GetStabilization_Mode (UMediaPlayer *MediaPlayer) |
| | Get stabilization mode.
|
| static void | SetStabilization_Mode (UMediaPlayer *MediaPlayer, DirectCameraStabilizationMode Value) |
| | Set stabilization mode.
|
| static float | GetZoom (UMediaPlayer *MediaPlayer) |
| | Get zoom level.
|
| static void | SetZoom (UMediaPlayer *MediaPlayer, float Value) |
| | Set zoom level.
|
| static FVector2D | GetAE_Center (UMediaPlayer *MediaPlayer) |
| | Get auto exposure region center.
|
| static void | SetAE_Center (UMediaPlayer *MediaPlayer, FVector2D Value) |
| | Set auto exposure region center.
|
| static FVector2D | GetAF_Center (UMediaPlayer *MediaPlayer) |
| | Get auto focus region center.
|
| static void | SetAF_Center (UMediaPlayer *MediaPlayer, FVector2D Value) |
| | Set auto focus region center.
|
| static bool | GetAE_Lock (UMediaPlayer *MediaPlayer) |
| | Get auto exposure lock.
|
| static void | SetAE_Lock (UMediaPlayer *MediaPlayer, bool Value) |
| | Set auto exposure lock.
|
| static bool | GetAF_Lock (UMediaPlayer *MediaPlayer) |
| | Get auto focus lock.
|
| static void | SetAF_Lock (UMediaPlayer *MediaPlayer, bool Value) |
| | Set auto focus lock.
|
| static bool | GetWhiteBalance_Lock (UMediaPlayer *MediaPlayer) |
| | Get white balance lock.
|
| static void | SetWhiteBalance_Lock (UMediaPlayer *MediaPlayer, bool Value) |
| | Set white balance lock.
|
| static int32 | GetISO (UMediaPlayer *MediaPlayer) |
| | Get ISO value.
|
| static void | SetISO (UMediaPlayer *MediaPlayer, int32 Value) |
| | Set ISO value.
|
| static float | GetFixedExposureTime (UMediaPlayer *MediaPlayer) |
| | Get fixed exposure time (in seconds)
|
| static void | SetFixedExposureTime (UMediaPlayer *MediaPlayer, float Value) |
| | Set fixed exposure time (in seconds)
|
| static float | GetFixedFocusDistance (UMediaPlayer *MediaPlayer) |
| | Get Fixed Focus Distance (in diopters - use ConvertDioptersToMeters to convert to meters)
|
| static void | SetFixedFocusDistance (UMediaPlayer *MediaPlayer, float Value) |
| | Set Fixed Focus Distance (in diopters - use ConvertMetersToDiopters to convert from meters)
|
| static float | GetReadOnly_MinFocusDistance (UMediaPlayer *MediaPlayer) |
| | Get Read Only Minimum Focus Distance.
|
| static void | SetReadOnly_MinFocusDistance (UMediaPlayer *MediaPlayer, float Value) |
| | Set Read Only Minimum Focus Distance.
|
| static float | GetReadOnly_MinExposureTime (UMediaPlayer *MediaPlayer) |
| | Get Read Only Minimum Exposure Time.
|
| static void | SetReadOnly_MinExposureTime (UMediaPlayer *MediaPlayer, float Value) |
| | Set Read Only Minimum Exposure Time.
|
| static float | GetReadOnly_MaxExposureTime (UMediaPlayer *MediaPlayer) |
| | Get Read Only Maximum Exposure Time.
|
| static void | SetReadOnly_MaxExposureTime (UMediaPlayer *MediaPlayer, float Value) |
| | Set Read Only Maximum Exposure Time.
|
Blueprint Function Library for DirectCamera Capture Settings Provides easy access to camera settings functionality from Blueprints
Call these functions on a MediaPlayer that has a camera open. They will not do anything if the MediaPlayer is closed or has something else open.