FObjectInitializer::FObjectInitializer

Constructor

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/UObjectGlobals.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectGlobals.cpp

Syntax

FObjectInitializer
(
    UObject * InObj,
    UObject * InObjectArchetype,
    bool bInCopyTransientsFromClassDefaults,
    bool bInShouldInitializeProps,
    struct FObjectInstancingGraph * InInstanceGraph
)

Remarks

Constructor

Parameters

Parameter

Description

InObj

object to initialize, from static allocate object, after construction

InObjectArchetype

object to initialize properties from

bInCopyTransientsFromClassDefaults

if true, copy transient from the class defaults instead of the pass in archetype ptr (often these are the same)

bInShouldInitializeProps

false is a special case for changing base classes in UCCMake

InInstanceGraph

passed instance graph

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