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

Interface for platform video recording functionality 更多...

#include <VideoRecordingSystem.h>

+ 类 IVideoRecordingSystem 继承关系图:

Public 成员函数

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.
 

详细描述

Interface for platform video recording functionality

成员函数说明

◆ EnableRecording()

virtual void IVideoRecordingSystem::EnableRecording ( const bool  bEnableRecording)
pure virtual

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.

在 FGenericVideoRecordingSystem 内被实现.

◆ FinalizeRecording()

virtual void IVideoRecordingSystem::FinalizeRecording ( const bool  bSaveRecording,
const FText &  Title,
const FText &  Comment,
const bool  bStopAutoContinue = true 
)
pure virtual

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

在 FGenericVideoRecordingSystem 内被实现.

◆ NewRecording()

virtual bool IVideoRecordingSystem::NewRecording ( const TCHAR *  DestinationFileName,
FVideoRecordingParameters  Parameters = FVideoRecordingParameters() 
)
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 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.

在 FGenericVideoRecordingSystem 内被实现.

◆ PauseRecording()

virtual void IVideoRecordingSystem::PauseRecording ( )
pure virtual

Pauses video recording after a call to StartRecording.

Call StartRecording again to resume.

在 FGenericVideoRecordingSystem 内被实现.


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