Skip to content

[break] Support animation editor scene-process APIs#714

Open
knoxHuang wants to merge 54 commits into
cocos:mainfrom
knoxHuang:animation
Open

[break] Support animation editor scene-process APIs#714
knoxHuang wants to merge 54 commits into
cocos:mainfrom
knoxHuang:animation

Conversation

@knoxHuang

@knoxHuang knoxHuang commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

变更说明

  • 新增 scene-process 内部 AnimationService 和 typed animation API,覆盖动画编辑 session 进入/退出、状态查询、root/clip/properties 查询、编辑时间采样、播放控制、切换 clip 和保存。
  • 补齐 queryClipapplyOperation 的动画编辑数据闭环,支持 clip 基础属性、普通属性曲线和 keyframe/keyData、events、embedded players、auxiliary curves,以及骨骼动画可编辑操作限制和 meta 写回。
  • 接入 animation authoring 的 dirty/undo/redo 语义,包括 clip snapshot undo、批处理失败回滚、asset refresh/delete 生命周期处理,以及 scene 属性提交与 animation undo 的合并。
  • 新增 animation:state-changedanimation:time-changedanimation:clip-changedanimation:property-committed 事件链路,并补齐 preview bundle / service forwarding 所需入口。
  • 补充动画编辑迁移文档、CLI 能力矩阵、DTS snapshot,以及 animation service / curve / undo / gizmo 相关测试覆盖。
  • 本 PR 只补 scene-process 后端能力,不迁移 animator/Pink UI、MCP/API/main-process proxy,也不完整复刻旧消息总线;旧编辑器的结构型 property/node 操作、spacingKeysclearKeys、embedded player 菜单查询等缺口以 docs/dev/scene/animation-cli-capability-matrix.md 为准。

@knoxHuang knoxHuang changed the title Improve animation undo property commits Support animation editor scene-process APIs Jul 4, 2026
@knoxHuang knoxHuang changed the title Support animation editor scene-process APIs [break] Support animation editor scene-process APIs Jul 4, 2026
@knoxHuang knoxHuang force-pushed the animation branch 3 times, most recently from 2414db9 to e06b09c Compare July 7, 2026 08:39
knoxHuang added 25 commits July 7, 2026 16:51
# Conflicts:
#	src/core/scene/scene-process/service/dump/decode.ts
#	src/core/scene/scene.scripting.middleware.ts
knoxHuang added 28 commits July 7, 2026 16:51
# Conflicts:
#	src/core/scene/scene-process/service/gizmo/base/gizmo-base.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant