Choose your operating system:
Windows
macOS
Linux
| FArchive::Preload()
|
Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/LinkerLoad.h |
Include |
#include "UObject/LinkerLoad.h" |
Source |
/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp |
Serialize the object data for the specified object from the unreal package file. Loads any additional resources required for the object to be in a valid state to receive the loaded data, such as the object's Outer, Class, or ObjectArchetype.
When this function exits, Object is guaranteed to contain the data stored that was stored on disk.
that this function assumes that Object has already been initialized against its template object. If Object is a UClass and the class default object has already been created, calls Preload for the class default object as well. Serialize the object data for the specified object from the unreal package file. Loads any additional resources required for the object to be in a valid state to receive the loaded data, such as the object's Outer, Class, or ObjectArchetype.
When this function exits, Object is guaranteed to contain the data stored that was stored on disk.
Parameter |
Description |
---|---|
Object |
The object to load data for. If the data for this object isn't stored in this FLinkerLoad, routes the call to the appropriate linker. Data serialization is skipped if the object has already been loaded (as indicated by the RF_NeedLoad flag not set for the object), so safe to call on objects that have already been loaded. |
Object |
The object to load data for. If the data for this object isn't stored in this FLinkerLoad, routes the call to the appropriate linker. Data serialization is skipped if the object has already been loaded (as indicated by the RF_NeedLoad flag not set for the object), so safe to call on objects that have already been loaded. Note that this function assumes that Object has already been initialized against its template object. If Object is a UClass and the class default object has already been created, calls Preload for the class default object as well. |