fgui_set_keyframe
Modify an existing FairyGUI keyframe by index or target/track/frame to update timing, label, tween, easing, repeat, yoyo, or values; optionally save and verify.
Instructions
修改一个已有关键帧;可用 item_index,或 target_id + track_type + frame 定位。
按 target_id/type/frame 还能定位 get_transition 隐藏的 Tween 合成端点(此时 itemIndex=null、syntheticEndpoint=true)。changes 支持 frame / label / tween / ease / repeat / yoyo / value / endValue。tween=true 只能用于已处于 Tween 关系中的关键帧 (Tween 起点,或插入已有 Tween 后形成的端点);普通关键帧之间建立 Tween 请用 fgui_upsert_transition。endValue 写入 Tween 端点;tween=false 不能同时给 endValue。 save=True 保存后默认比对磁盘 XML;external_reload=True(需 save=True)关闭重开再比对。
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": {
"name": "<name>",
"changes": "<changes>"
},
"name": "fgui_set_keyframe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| save | No | ||
| frame | No | ||
| verify | No | ||
| changes | Yes | ||
| target_id | No | ||
| item_index | No | ||
| track_type | No | ||
| external_reload | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||