UWorld::PreSaveRoot

Called from within SavePackage on the passed in base/root object.

Windows
MacOS
Linux

Override Hierarchy

UObject::PreSaveRoot()

UWorld::PreSaveRoot()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/World.h

Include

#include "Engine/World.h"

Source

/Engine/Source/Runtime/Engine/Private/World.cpp

Syntax

virtual bool PreSaveRoot
(
    const TCHAR * Filename
)

Remarks

Called from within SavePackage on the passed in base/root object. The return value of this function will be passed to PostSaveRoot. This is used to allow objects used as a base to perform required actions before saving and cleanup afterwards.

Returns

Whether PostSaveRoot needs to perform internal cleanup

Parameters

Parameter

Description

Filename

Name of the file being saved to (includes path)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback