Navigation
API > API/Editor > API/Editor/SubobjectDataInterface > API/Editor/SubobjectDataInterface/USubobjectDataSubsystem > API/Editor/SubobjectDataInterface/USubobjectDataSubsystem/DeleteSubobjects
References
| Module | SubobjectDataInterface |
| Header | /Engine/Source/Editor/SubobjectDataInterface/Public/SubobjectDataSubsystem.h |
| Include | #include "SubobjectDataSubsystem.h" |
| Source | /Engine/Source/Editor/SubobjectDataInterface/Private/SubobjectDataSubsystem.cpp |
int32 DeleteSubobjects
&40;
const FSubobjectDataHandle & ContextHandle,
const TArray< FSubobjectDataHandle > & SubobjectsToDelete,
FSubobjectDataHandle & OutComponentToSelect,
UBlueprint &42; BPContext,
bool bForce
&41;
Remarks
Attempts to delete the given array of subobjects from their context The number of subobjects successfully deleted
Parameters
| Name | Description |
|---|---|
| ContextHandle | The owning context of the subobjects that should be removed |
| SubobjectsToDelete | Array of subobject handles that should be deleted |
| OutComponentToSelect | Populates this handle with a valid selection in the component hierarchy if desired |
| bForce | If true then this will attempt to delete a subobject even if the CanDelete function flags otherwise. |