Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
Include |
#include "UObject/UObjectGlobals.h" |
Source |
/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectGlobals.cpp |
Create a component or subobject
Parameter |
Description |
---|---|
TReturnType |
class of return type, all overrides must be of this type |
TClassToConstructByDefault |
if the derived class has not overridden, create a component of this type (default is TReturnType) |
Outer |
outer to construct the subobject in |
SubobjectName |
name of the new component |
bIsRequired |
true if the component is required and will always be created even if DoNotCreateDefaultSubobject was specified. |
bIsTransient |
true if the component is being assigned to a transient property |