editor.outliner.getItems
Returns all actors in the world with their selection state and folder hierarchy.
No parameters.
Returns:
| Name | Type | Description |
|---|---|---|
items | array | Each: {item_id, display_name, type, actor_class, parent_id, is_selected} |
count | number | Number of items |
Example Request:
{ "jsonrpc": "2.0", "id": 1, "method": "editor.outliner.getItems" } Example Response:
{
"jsonrpc": "2.0", "id": 1,
"result": {
"items": [
{ "item_id": "Cube_0", "display_name": "Cube", "type": "Actor", "actor_class": "StaticMeshActor", "parent_id": "", "is_selected": false }
],
"count": 1
}
} editor.outliner.setSelection
Selects actors in the outliner by name or ID.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
items | array | Yes | Array of actor names/IDs to select |
Returns:
| Name | Type | Description |
|---|---|---|
selected_count | number | Number of actors selected |
Example Request:
{ "jsonrpc": "2.0", "id": 1, "method": "editor.outliner.setSelection", "params": { "items": ["Cube", "PointLight"] } } editor.outliner.getSelection
Returns currently selected items from the outliner.
No parameters.
Returns:
| Name | Type | Description |
|---|---|---|
items | array | Each: {item_id, display_name, type, actor_class, is_selected} |
count | number | Number of selected items |
Example Request:
{ "jsonrpc": "2.0", "id": 1, "method": "editor.outliner.getSelection" } editor.outliner.refresh
Triggers a full refresh of the scene outliner widget.
No parameters.
Returns:
| Name | Type | Description |
|---|---|---|
success | bool | Whether refresh was triggered |
Example Request:
{ "jsonrpc": "2.0", "id": 1, "method": "editor.outliner.refresh" } editor.outliner.getFolders
Returns outliner folders with actor counts. Supports pagination.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | No | Max folders to return (1-5000, default 500) |
offset | number | No | Folders to skip (default 0) |
Returns:
| Name | Type | Description |
|---|---|---|
folders | array | Each: {path, actor_count} |
count | number | Number of folders in this page |
total | number | Total folders available |
limit | number | Limit used |
offset | number | Offset used |
has_more | bool | Whether more folders exist beyond this page |
Example Request:
{ "jsonrpc": "2.0", "id": 1, "method": "editor.outliner.getFolders", "params": { "limit": 100 } } editor.outliner.search
Searches actors by name pattern with optional class filter. Supports pagination.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
pattern | string | Yes | Wildcard pattern (e.g. *Light*) |
class_filter | string | No | Filter by class name substring |
limit | number | No | Max results to return (1-5000, default 500) |
offset | number | No | Results to skip (default 0) |
Returns:
| Name | Type | Description |
|---|---|---|
actors | array | Each: {label, class, path, folder_path} |
count | number | Number of matches in this page |
total | number | Total matches available |
limit | number | Limit used |
offset | number | Offset used |
has_more | bool | Whether more results exist beyond this page |
Example Request:
{ "jsonrpc": "2.0", "id": 1, "method": "editor.outliner.search", "params": { "pattern": "*Light*", "limit": 50 } } editor.outliner.getActorsInFolder
Returns actors in a specific folder. Supports pagination.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
folder_path | string | Yes | Folder path (e.g. "Lighting") |
limit | number | No | Max actors to return (1-5000, default 500) |
offset | number | No | Actors to skip (default 0) |
Returns:
| Name | Type | Description |
|---|---|---|
actors | array | Each: {label, class, path} |
count | number | Number of actors in this page |
total | number | Total actors in folder |
limit | number | Limit used |
offset | number | Offset used |
has_more | bool | Whether more actors exist beyond this page |
Example Request:
{ "jsonrpc": "2.0", "id": 1, "method": "editor.outliner.getActorsInFolder", "params": { "folder_path": "Lighting", "limit": 100 } } editor.outliner.createFolder
Creates a new folder in the world outliner.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
folder_path | string | Yes | Folder path (e.g. "Lighting/Interior") |
Returns:
| Name | Type | Description |
|---|---|---|
success | bool | Whether folder was created |
folder_path | string | The folder path |
Example Request:
{ "jsonrpc": "2.0", "id": 1, "method": "editor.outliner.createFolder", "params": { "folder_path": "Lighting/Interior" } } editor.outliner.deleteFolder
Deletes a folder from the world outliner.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
folder_path | string | Yes | Folder path to delete |
Returns:
| Name | Type | Description |
|---|---|---|
success | bool | Whether folder was deleted |
Example Request:
{ "jsonrpc": "2.0", "id": 1, "method": "editor.outliner.deleteFolder", "params": { "folder_path": "Lighting/Interior" } } editor.outliner.moveToFolder
Moves actors to a specified folder.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
actors | array | Yes | Array of actor labels/names to move |
folder_path | string | Yes | Target folder path |
Returns:
| Name | Type | Description |
|---|---|---|
success | bool | Whether any actors were moved |
moved_count | number | Number of actors moved |
folder_path | string | Target folder path |
Example Request:
{ "jsonrpc": "2.0", "id": 1, "method": "editor.outliner.moveToFolder", "params": { "actors": ["PointLight", "SpotLight"], "folder_path": "Lighting" } }