UMovieSceneCaptureProtocolBase::CanWriteToFileImpl

Test whether this capture protocol thinks the file should be written to.

Windows
MacOS
Linux

Override Hierarchy

References

Module

MovieSceneCapture

Header

/Engine/Source/Runtime/MovieSceneCapture/Public/MovieSceneCaptureProtocolBase.h

Include

#include "MovieSceneCaptureProtocolBase.h"

Source

/Engine/Source/Runtime/MovieSceneCapture/Private/MovieSceneCaptureProtocolBase.cpp

Syntax

virtual bool CanWriteToFileImpl
(
    const TCHAR * InFilename,
    bool bOverwriteExisting
) const

Remarks

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

Returns

Whether we should deem this file writable or not

Parameters

Parameter

Description

InFilename

The filename to test

bOverwriteExisting

Whether we are allowed to overwrite existing files

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss