Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/FScriptIntegrationObjectHelper
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include | #include "UObject/UObjectGlobals.h" |
static void InstanceSubobjects
(
const FObjectInitializer & ObjectInitializer,
UClass * Class,
bool bNeedInstancing,
bool bNeedSubobjectInstancing
)
Remarks
Create copies of the object's components from their templates.
Parameters
| Name | Description |
|---|---|
| ObjectInitializer | FObjectInitializer helper |
| 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 |