Motion kit command
keyframe.interpolation
Keyframe Interpolation
Sets the selected keyframes' interpolation: `interpolation` (linear, bezier, continuousBezier, autoBezier, hold) or `in`/`out` per side, `spatial` for paths, and roving. Changes how values move between keys, not the key values.
- Kit
- Motion 0.1.0 (.kmotion)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
autoBezier | boolean | no | |
continuous | boolean | no | |
in | "linear" | "bezier" | "hold" | no | |
interpolation | "linear" | "bezier" | "continuousBezier" | "autoBezier" | "hold" | no | |
out | "linear" | "bezier" | "hold" | no | |
roving | boolean | no | |
spatial | "linear" | "bezier" | "continuousBezier" | "autoBezier" | no |
Call through motion_run
text
motion_run {
"path": "<file>.kmotion",
"steps": [{ "command": "keyframe.interpolation" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: autoBezier, continuous, in, interpolation, out, roving, spatial. motion_run answers the step’s result in completed[i].result.
Result
The kit gives no result schema for this command.
Parameter schema
json
{
"additionalProperties": false,
"properties": {
"autoBezier": {
"type": "boolean"
},
"continuous": {
"type": "boolean"
},
"in": {
"enum": [
"linear",
"bezier",
"hold"
],
"type": "string"
},
"interpolation": {
"enum": [
"linear",
"bezier",
"continuousBezier",
"autoBezier",
"hold"
],
"type": "string"
},
"out": {
"enum": [
"linear",
"bezier",
"hold"
],
"type": "string"
},
"roving": {
"type": "boolean"
},
"spatial": {
"enum": [
"linear",
"bezier",
"continuousBezier",
"autoBezier"
],
"type": "string"
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (motion_commands through @kition/[email protected], built from KitionAI/kition-motion@4719aa7). As data: commands.jsonl.