Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FObjectInitializer
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FObjectInitializer & SetNestedDefaultSubobjectClass
(
FStringView SubobjectName |
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. | UObject/UObjectGlobals.h | |
const FObjectInitializer & SetNestedDefaultSubobjectClass
(
TArrayView< const FName > SubobjectNames |
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. | UObject/UObjectGlobals.h | |
const FObjectInitializer & SetNestedDefaultSubobjectClass
(
FStringView SubobjectName, |
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. | UObject/UObjectGlobals.h | |
const FObjectInitializer & SetNestedDefaultSubobjectClass
(
TArrayView< const FName > SubobjectNames, |
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. | UObject/UObjectGlobals.h |
SetNestedDefaultSubobjectClass(FStringView)
Description
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.
| Name | SetNestedDefaultSubobjectClass |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
template<class T>
const FObjectInitializer & SetNestedDefaultSubobjectClass
(
FStringView SubobjectName
) const
Parameters
| Name | Remarks |
|---|---|
| SubobjectName | path to the new component or subobject |
SetNestedDefaultSubobjectClass(TArrayView< const FName >)
Description
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.
| Name | SetNestedDefaultSubobjectClass |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
template<class T>
const FObjectInitializer & SetNestedDefaultSubobjectClass
(
TArrayView < const FName > SubobjectNames
) const
Parameters
| Name | Remarks |
|---|---|
| SubobjectName | path to the new component or subobject |
SetNestedDefaultSubobjectClass(FStringView, const UClass *)
Description
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.
| Name | SetNestedDefaultSubobjectClass |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
const FObjectInitializer & SetNestedDefaultSubobjectClass
(
FStringView SubobjectName,
const UClass * Class
) const
Parameters
| Name | Remarks |
|---|---|
| SubobjectName | path to the new component or subobject |
| Class | The class to use for the specified subobject or component. |
SetNestedDefaultSubobjectClass(TArrayView< const FName >, const UClass *)
Description
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.
| Name | SetNestedDefaultSubobjectClass |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
const FObjectInitializer & SetNestedDefaultSubobjectClass
(
TArrayView < const FName > SubobjectNames,
const UClass * Class
) const
Parameters
| Name | Remarks |
|---|---|
| SubobjectName | path to the new component or subobject |
| Class | The class to use for the specified subobject or component. |