Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject > FObjectInitializer > SetNestedDefaultSubobjectClass
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
Include | #include "UObject/UObjectGlobals.h" |
template<class T>
const FObjectInitializer & SetNestedDefaultSubobjectClass
&40;
FStringView SubobjectName
&41; const
Remarks
Sets the class to use for a subobject defined in a nested subobject, the class must be a subclass of the class used when calling CreateDefaultSubobject.
Parameters
Name | Description |
---|---|
SubobjectName | path to the new component or subobject |