FPreloadableFile::TotalSize

Return the size of the file, or -1 if the file does not exist.

Windows
MacOS
Linux

Override Hierarchy

FArchiveState::TotalSize()

FPreloadableFile::TotalSize()

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/PreloadableFile.h

Include

#include "Misc/PreloadableFile.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/PreloadableFile.cpp

Syntax

virtual int64 TotalSize()

Remarks

Return the size of the file, or -1 if the file does not exist. This is also the amount of memory that will be allocated by AllocateCache.

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