Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject > FObjectInitializer
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 |
void InstanceSubobjects
&40;
UClass &42; Class,
bool bNeedInstancing,
bool bNeedSubobjectInstancing
&41; const
Remarks
Create copies of the object's components from their templates.
Parameters
Name | Description |
---|---|
Class | Class of the object we are initializing |
bNeedInstancing | Indicates whether the object's components need to be instanced |
bNeedSubobjectInstancing | Indicates whether subobjects of the object's components need to be instanced |