Navigation
BlueprintAPI > BlueprintAPI/Cleanup
Deletes all assets that:
- Are currently tracked by the asset cache;
- Are set as deletable;
- Are not used by other UObjects (by external assets, components, undo buffer, Python scripting variables, etc.).
- Have no referencers;
- Have not been saved to disk;
If bShowConfirmation is true, this will fallback to using engine code for deleting the assets, showing a confirmation dialog listing the assets that will be deleted. If false, it will silently try deleting the assets it can.
WARNING: This will clear the undo buffer (i.e. transaction history) and run garbage collection after deleting.
Target is USD Asset Cache
Inputs
| Type | Name | Description |
|---|---|---|
| exec | In | |
| object | Target | |
| boolean | Show Confirmation |
Outputs
| Type | Name | Description |
|---|---|---|
| exec | Out |