fgui_duplicate_transition
Duplicates a FairyGUI transition with all keyframes, optionally renames and saves it, and verifies the copied transition node in disk XML.
Instructions
复制一个 Transition(含全部关键帧);可由 fgui_undo 回退。
6.1.4 的 DuplicateTransition 运行时不接受新名称参数,Bridge 会复制后再经文档模型改名; structureNormalized=true 表示副本结构经编辑器归一化,与源不完全一致。省略 new_name 时沿用编辑器自动命名。 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>"
},
"name": "fgui_duplicate_transition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| save | No | ||
| verify | No | ||
| new_name | No | ||
| external_reload | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||