FDeferredCdoInitializationTracker::DeferPreload

Determines if the specified object needs to have its Preload() call deferred (this is meant to be called from Preload() itself).

Windows
MacOS
Linux

Override Hierarchy

FDeferredInitializationTrackerBase::DeferPreload()

FDeferredCdoInitializationTracker::DeferPreload()

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Blueprint/BlueprintSupport.h

Include

#include "Blueprint/BlueprintSupport.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/Blueprint/BlueprintSupport.cpp

Syntax

virtual bool DeferPreload
(
    UObject * Object
)

Remarks

Determines if the specified object needs to have its Preload() call deferred (this is meant to be called from Preload() itself). If so, this will record the object and serialize it in later, once it's initializer dependency has been resolved (from ResolveArchetypeInstances).

This should be the case for any object that's had its initialization deferred (need to initialize before you serialize), and any dependencies (sub-objects, etc.) waiting on that object's initialization.

Returns

True if Object's load/serialization should be skipped (for now).

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