Motion kit command
keyframe.velocity
Keyframe Velocity
Sets the speed and influence of the selected keyframes: `inSpeed`, `inInfluence` %, `outSpeed`, `outInfluence` % (numbers, or arrays per dimension), `continuous` to tie both sides. Use for custom eases; keyframe.easyEase for the standard one.
- Kit
- Motion 0.1.0 (.kmotion)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
continuous | boolean | no | |
inInfluence | number | number[] | no | percent: a number, or one per dimension |
inSpeed | number | number[] | no | a number, or one per dimension |
merge | string | no | read by the command beside its listed parameters |
outInfluence | number | number[] | no | percent: a number, or one per dimension |
outSpeed | number | number[] | no | a number, or one per dimension |
Call through motion_run
text
motion_run {
"path": "<file>.kmotion",
"steps": [{ "command": "keyframe.velocity" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: continuous, inInfluence, inSpeed, merge, outInfluence, outSpeed. 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": {
"continuous": {
"type": "boolean"
},
"inInfluence": {
"description": "percent: a number, or one per dimension",
"oneOf": [
{
"type": "number"
},
{
"items": {
"type": "number"
},
"type": "array"
}
]
},
"inSpeed": {
"description": "a number, or one per dimension",
"oneOf": [
{
"type": "number"
},
{
"items": {
"type": "number"
},
"type": "array"
}
]
},
"merge": {
"description": "read by the command beside its listed parameters",
"type": "string"
},
"outInfluence": {
"description": "percent: a number, or one per dimension",
"oneOf": [
{
"type": "number"
},
{
"items": {
"type": "number"
},
"type": "array"
}
]
},
"outSpeed": {
"description": "a number, or one per dimension",
"oneOf": [
{
"type": "number"
},
{
"items": {
"type": "number"
},
"type": "array"
}
]
}
},
"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.