FUObjectThreadContext::TopInitializerChecked

Retrieves current [FObjectInitializer](API\Runtime\CoreUObject\UObject\FObjectInitializer) for current thread.

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectThreadContext.h

Include

#include "UObject/UObjectThreadContext.h"

Syntax

FObjectInitializer & TopInitializerChecked()

Remarks

Retrieves current FObjectInitializer for current thread. Will assert of no ObjectInitializer is currently set.

Returns

Current FObjectInitializer reference.