FObjectInitializer::InitSubobjectProperties

Calls InitProperties for any default subobjects created through this ObjectInitializer.

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

bool InitSubobjectProperties
(
    bool bAllowInstancing
) const

Remarks

Calls InitProperties for any default subobjects created through this ObjectInitializer.

Returns

true if there are any subobjects which require instancing.

Parameters

Parameter

Description

bAllowInstancing

Indicates whether the object's components may be copied from their templates.

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