Motion kit command
roto.options
Rotoscope Brush Options
Sets Rotoscope Brush tool options: brush `diameter` and `refineDiameter` (px), the viewer `view` (alphaBoundary, alpha, alphaOverlay, none), overlay and boundary colours and opacity, and `autoPropagate`. Returns them; the project is unchanged.
- Kit
- Motion 0.1.0 (.kmotion)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
autoPropagate | boolean | no | |
boundaryColor | number[] | no | [r, g, b] |
diameter | number | no | |
overlayColor | number[] | no | [r, g, b] |
overlayOpacity | number | no | |
refineDiameter | number | no | |
view | "alphaBoundary" | "alpha" | "alphaOverlay" | "none" | no |
Call through motion_run
motion_run {
"path": "<file>.kmotion",
"steps": [{ "command": "roto.options" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: autoPropagate, boundaryColor, diameter, overlayColor, overlayOpacity, refineDiameter, view. motion_run answers the step’s result in completed[i].result.
Result
The kit gives no result schema for this command.
Parameter schema
{
"additionalProperties": false,
"properties": {
"autoPropagate": {
"type": "boolean"
},
"boundaryColor": {
"description": "[r, g, b]",
"items": {
"type": "number"
},
"type": "array"
},
"diameter": {
"type": "number"
},
"overlayColor": {
"description": "[r, g, b]",
"items": {
"type": "number"
},
"type": "array"
},
"overlayOpacity": {
"type": "number"
},
"refineDiameter": {
"type": "number"
},
"view": {
"enum": [
"alphaBoundary",
"alpha",
"alphaOverlay",
"none"
],
"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.