Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject > UObject
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/Object.h |
Include | #include "UObject/Object.h" |
Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/Obj.cpp |
UObject &42; CreateEditorOnlyDefaultSubobjectImpl
&40;
FName SubobjectName,
UClass &42; ReturnType,
bool bTransient
&41;
Remarks
Create a component or subobject only to be used with the editor.
Parameters
Name | Description |
---|---|
Outer | outer to construct the subobject in |
ReturnType | type of the new component |
SubobjectName | name of the new component |
bTransient | true if the component is being assigned to a transient property |