Navigation
API > API/Runtime > API/Runtime/MovieSceneCapture > API/Runtime/MovieSceneCapture/UVideoCaptureProtocol
Description
Test whether this capture protocol thinks the file should be written to. Only called when we're not overwriting existing files. By default, we simply test for the file's existence, however this can be overridden to afford complex behaviour like writing out multiple video files for different file names
Virtual Inheritance
- UMovieSceneCaptureProtocolBase::CanWriteToFileImpl → UVideoCaptureProtocol::CanWriteToFileImpl
| Name | CanWriteToFileImpl |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieSceneCapture/Public/Protocols/VideoCaptureProtocol.h |
| Include Path | #include "Protocols/VideoCaptureProtocol.h" |
| Source | /Engine/Source/Runtime/MovieSceneCapture/Private/VideoCaptureProtocol.cpp |
virtual bool CanWriteToFileImpl
(
const TCHAR * InFilename,
bool bOverwriteExisting
) const
Whether we should deem this file writable or not
Parameters
| Name | Remarks |
|---|---|
| InFilename | The filename to test |
| bOverwriteExisting | Whether we are allowed to overwrite existing files |