engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FGenericVideoRecordingSystem类 参考

A generic implementation of the video recording system, that doesn't support recording 更多...

#include <VideoRecordingSystem.h>

+ 类 FGenericVideoRecordingSystem 继承关系图:

Public 成员函数

virtual void EnableRecording (const bool bEnableRecording) override
 Enables or disables recording if the platform supports it. 更多...
 
virtual void FinalizeRecording (const bool bSaveRecording, const FText &Title, const FText &Comment, const bool bStopAutoContinue) override
 Stops recording and prepares the final video file for use. 更多...
 
virtual float GetCurrentRecordingSeconds () const override
 Returns the current length of time the of the recording, up to RecordingLengthSeconds.
 
virtual uint64 GetMinimumRecordingSeconds () const override
 The minimum and maximum time available for recording on this platform.
 
virtual EVideoRecordingState GetRecordingState () const override
 Returns the current state of video recording.
 
virtual bool IsEnabled () const override
 Returns whether recording is currently enabled.
 
virtual bool NewRecording (const TCHAR *DestinationFileName, FVideoRecordingParameters Parameters=FVideoRecordingParameters()) override
 Initializes a new video recording. 更多...
 
virtual void PauseRecording () override
 Pauses video recording after a call to StartRecording. 更多...
 
virtual void StartRecording () override
 Begins capturing video after a call to NewRecording or PauseRecording.
 
virtual void EnableRecording (const bool bEnableRecording)=0
 Enables or disables recording if the platform supports it. 更多...
 
virtual void FinalizeRecording (const bool bSaveRecording, const FText &Title, const FText &Comment, const bool bStopAutoContinue=true)=0
 Stops recording and prepares the final video file for use. 更多...
 
virtual float GetCurrentRecordingSeconds () const =0
 Returns the current length of time the of the recording, up to RecordingLengthSeconds.
 
virtual uint64 GetMinimumRecordingSeconds () const =0
 The minimum and maximum time available for recording on this platform.
 
virtual EVideoRecordingState GetRecordingState () const =0
 Returns the current state of video recording.
 
virtual bool IsEnabled () const =0
 Returns whether recording is currently enabled.
 
virtual bool NewRecording (const TCHAR *DestinationFileName, FVideoRecordingParameters Parameters=FVideoRecordingParameters())=0
 Initializes a new video recording. 更多...
 
virtual void PauseRecording ()=0
 Pauses video recording after a call to StartRecording. 更多...
 
virtual void StartRecording ()=0
 Begins capturing video after a call to NewRecording or PauseRecording.
 

详细描述

A generic implementation of the video recording system, that doesn't support recording

成员函数说明

◆ EnableRecording()

virtual void FGenericVideoRecordingSystem::EnableRecording ( const bool  bEnableRecording)
inlineoverridevirtual

Enables or disables recording if the platform supports it.

Useful to prevent users from sharing spoilers.\

参数
bEnableRecordingIf true, video recording will be allowed. If false, videos will not be recorded.

实现了 IVideoRecordingSystem.

◆ FinalizeRecording()

virtual void FGenericVideoRecordingSystem::FinalizeRecording ( const bool  bSaveRecording,
const FText &  Title,
const FText &  Comment,
const bool  bStopAutoContinue 
)
inlineoverridevirtual

Stops recording and prepares the final video file for use.

参数
bSaveRecordingIf true, the recording will be saved. If false, the recording will be discarded.
bStopAutoContinueIf true, a auto-continue recording will be stopped.
TitleThe title to use for the final video
CommentA comment to store with the final video

实现了 IVideoRecordingSystem.

◆ NewRecording()

virtual bool FGenericVideoRecordingSystem::NewRecording ( const TCHAR *  DestinationFileName,
FVideoRecordingParameters  Parameters = FVideoRecordingParameters() 
)
inlineoverridevirtual

Initializes a new video recording.

By default does not start capturing, will not start again after saving and will export to the library. Use the RegisterVideoRecordingFinalizedDelegate to retrieve the final filepath.

参数
DestinationFileNameThe base name of the resulting video, without a path or extension.
Parametersthe parameters for this recording
返回
True if opening the recording succeeded, false otherwise.

实现了 IVideoRecordingSystem.

◆ PauseRecording()

virtual void FGenericVideoRecordingSystem::PauseRecording ( )
inlineoverridevirtual

Pauses video recording after a call to StartRecording.

Call StartRecording again to resume.

实现了 IVideoRecordingSystem.


该类的文档由以下文件生成: