Scene kit command

view.overlays

Overlays

Shows or hides every overlay: the grid, lights, cameras, empties, origins, outlines and edit marks, so the viewport (a rendered camera view too) shows only the scene.

Kit
Scene 0.1.0 (.kscene)
Changes the document
no

Parameters

Parameters of view.overlays
NameTypeRequiredDescription
onbooleannoShow the overlays; toggles when left out

Call through scene_run

text
scene_run {
  "path": "<file>.kscene",
  "steps": [{ "command": "view.overlays" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: on. scene_run answers the step’s result in completed[i].result.

Result

Result of view.overlays
NameTypeRequiredDescription
changedbooleanno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "changed": {
      "type": "boolean"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "on": {
      "description": "Show the overlays; toggles when left out",
      "type": "boolean"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (scene_commands through @kition/[email protected], built from KitionAI/kition-scene@4d06faf). As data: commands.jsonl.