FObjectInitializer::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"

Source

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

Syntax

void InstanceSubobjects
(
    UClass * Class,
    bool bNeedInstancing,
    bool bNeedSubobjectInstancing
) const

Remarks

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

Parameters

Parameter

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

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