Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > Serialization > IAsyncPackageLoader > LoadPackage
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/Serialization/AsyncPackageLoader.h |
Include | #include "Serialization/AsyncPackageLoader.h" |
virtual int32 LoadPackage
(
const FPackagePath & PackagePath,
FLoadPackageAsyncOptionalParams OptionalParams
)
Remarks
Asynchronously load a package. Unique ID associated with this load request (the same package can be associated with multiple IDs).
Parameters
Name | Description |
---|---|
PackagePath | PackagePath to load. Must be a mounted path. The package is created if it does not already exist. |
OptionalParams | Struct containing all the parameters required to load the package. |