Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/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 |
void CollectDefaultSubobjects
&40;
TArray< UObject &42; > & OutDefaultSubobjects,
bool bIncludeNestedSubobjects
&41; const
Remarks
Uses the TArchiveObjectReferenceCollector to build a list of all components referenced by this object which have this object as the outer
Parameters
| Name | Description |
|---|---|
| OutDefaultSubobjects | the array that should be populated with the default subobjects "owned" by this object |
| bIncludeNestedSubobjects | controls whether subobjects which are contained by this object, but do not have this object as its direct Outer should be included |