Scene kit command

frame.set

Go to Frame

Goes to frame `frame` and answers it; the scene shows its animated state there.

Kit
Scene 0.1.0 (.kscene)
Changes the document
no

Parameters

Parameters of frame.set
NameTypeRequiredDescription
framenumberyesThe frame

Call through scene_run

text
scene_run {
  "path": "<file>.kscene",
  "steps": [{ "command": "frame.set", "params": { "frame": <number> } }]
}

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

Result

Result of frame.set
NameTypeRequiredDescription
frameintegerno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "frame": {
      "type": "integer"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "frame": {
      "description": "The frame",
      "type": "number"
    }
  },
  "required": [
    "frame"
  ],
  "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.