FDeferredObjInitializationHelper::DeferObjectInitializerIfNeeded

Determines if the specified initializer needs to be deferred (does it have a archetype dependency that needs to be serialized first?).

Windows
MacOS
Linux

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

static FObjectInitializer * DeferObjectInitializerIfNeeded
(
    const FObjectInitializer & DeferringInitializer
)

Remarks

Determines if the specified initializer needs to be deferred (does it have a archetype dependency that needs to be serialized first?). If so, the FObjectInitializer will be copied and stored with the appropriate tracker (CDO vs. sub-object, etc.).

Designed to be called from the FObjectInitializer itself (before it runs initialization).

Returns

A pointer to the initializer copy (if one was made), null if no deferral was needed.

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