![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <VideoRecordingSystem.h>
Inheritance diagram for IVideoRecordingSystem:Public Member Functions | |
| virtual | ~IVideoRecordingSystem () |
| virtual void | EnableRecording (const bool bEnableRecording)=0 |
| virtual bool | IsEnabled () const =0 |
| virtual bool | NewRecording (const TCHAR *DestinationFileName, FVideoRecordingParameters Parameters=FVideoRecordingParameters())=0 |
| virtual void | StartRecording ()=0 |
| virtual void | PauseRecording ()=0 |
| virtual uint64 | GetMinimumRecordingSeconds () const =0 |
| virtual uint64 | GetMaximumRecordingSeconds () const =0 |
| virtual float | GetCurrentRecordingSeconds () const =0 |
| virtual void | FinalizeRecording (const bool bSaveRecording, const FText &Title, const FText &Comment, const bool bStopAutoContinue=true)=0 |
| virtual EVideoRecordingState | GetRecordingState () const =0 |
| FVideoRecordingFinalized & | GetOnVideoRecordingFinalizedDelegate () |
Protected Attributes | |
| FVideoRecordingFinalized | OnVideoRecordingFinalized |
Interface for platform video recording functionality
|
inlinevirtual |
Enables or disables recording if the platform supports it. Useful to prevent users from sharing spoilers.\
| bEnableRecording | If true, video recording will be allowed. If false, videos will not be recorded. |
Implemented in FGenericVideoRecordingSystem.
|
pure virtual |
Stops recording and prepares the final video file for use.
| bSaveRecording | If true, the recording will be saved. If false, the recording will be discarded. |
| bStopAutoContinue | If true, a auto-continue recording will be stopped. |
| Title | The title to use for the final video |
| Comment | A comment to store with the final video |
Implemented in FGenericVideoRecordingSystem.
Returns the current length of time the of the recording, up to RecordingLengthSeconds.
Implemented in FGenericVideoRecordingSystem.
Implemented in FGenericVideoRecordingSystem.
The minimum and maximum time available for recording on this platform.
Implemented in FGenericVideoRecordingSystem.
|
inline |
|
pure virtual |
Returns the current state of video recording.
Implemented in FGenericVideoRecordingSystem.
Returns whether recording is currently enabled.
Implemented in FGenericVideoRecordingSystem.
|
pure virtual |
Initializes a new video recording.
By default does not start capturing, will not start again after saving and will export to the library. Use GetOnVideoRecordingFinalizedDelegate to retrieve the final filepath.
| DestinationFileName | The base name of the resulting video, without a path or extension. |
| Parameters | the parameters for this recording |
Implemented in FGenericVideoRecordingSystem.
Pauses video recording after a call to StartRecording. Call StartRecording again to resume.
Implemented in FGenericVideoRecordingSystem.
Begins capturing video after a call to NewRecording or PauseRecording.
Implemented in FGenericVideoRecordingSystem.
|
protected |