ctrl_set_value
Set a keyframed value on a controller track at a specified frame. Use to directly write animation values to object properties or tracks.
Instructions
在指定帧把一个可动画轨道的值写入为关键帧(相对 anim_set_key 更偏底层,专用于控制器轨道)。 [English] Write a keyframed value to an animatable controller track at a frame (lower level than anim_set_key, aimed at controller tracks).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"property": "<property>",
"value": "<value>"
},
"name": "ctrl_set_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | 帧号;省略则用当前帧。 | Frame; current frame if omitted. | |
| value | Yes | 值,标量或 [x,y,z]。 | Value, scalar or [x,y,z]. | |
| objects | No | 对象名列表;省略则用当前选择。 | Object names; omit for the current selection. | |
| property | Yes | 属性名(轨道)。 | Property / track name. | |
| relative | No | true=在当前值上叠加。 | true=add to the current value. |