Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/Package.h |
Include |
#include "UObject/Package.h" |
static FSavePackageResultStruct Save
(
UPackage * InOuter,
UObject * InAsset,
const TCHAR * Filename,
const FSavePackageArgs & SaveArgs
)
Save one specific object (along with any objects it references contained within the same Outer) into an Unreal package.
FSavePackageResultStruct enum value with the result of saving a package as well as extra data
Parameter |
Description |
---|---|
InOuter |
the outer to use for the new package |
InAsset |
the object that should be saved into the package |
Filename |
the name to use for the new package file |
SaveArgs |
Extended arguments to control the save |