FScriptIntegrationObjectHelper::InstanceSubobjects

Create copies of the object's components from their templates.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/UObjectGlobals.h"

Syntax

static void InstanceSubobjects
(
    const FObjectInitializer & ObjectInitializer,
    UClass * Class,
    bool bNeedInstancing,
    bool bNeedSubobjectInstancing
)

Remarks

Create copies of the object's components from their templates.

Parameters

Parameter

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

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