editor_delete_actor
Deletes a loaded actor via editor Undo/Redo history; set deleteDescendants to true to remove its full hierarchy, or false to reject actors with children.
Instructions
Deletes a loaded actor through the editor Undo/Redo history. Set deleteDescendants to true to explicitly delete its complete hierarchy; false rejects actors with children.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actorId | Yes | Actor GUID from editor_scene_graph. | |
| deleteDescendants | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actorId | Yes | ||
| mainThreadId | Yes | ||
| deletedActorIds | Yes | ||
| deletedDescendants | Yes |