Skip to content

feat(assets): add animation mask tools#664

Merged
star-e merged 2 commits into
cocos:mainfrom
Changdw:feature/assets-animation-mask
Jun 23, 2026
Merged

feat(assets): add animation mask tools#664
star-e merged 2 commits into
cocos:mainfrom
Changdw:feature/assets-animation-mask

Conversation

@Changdw

@Changdw Changdw commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

变更说明

本 PR 为 assets 模块补充 AnimationMask 能力,提供面向面板/CLI/MCP 的稳定 DTO,而不是直接暴露 Creator inspector 反射 dump。

主要内容:

  • 新增 AnimationMask 核心能力:查询、导入骨骼、清空节点、按路径修改、保存。
  • 新增 MCP tools:
    • assets-animation-mask-query
    • assets-animation-mask-import-skeleton
    • assets-animation-mask-clear-nodes
    • assets-animation-mask-change-dump
    • assets-animation-mask-save
  • 新增稳定 DTO / schema / public type。
  • src/lib/assets 暴露 animationMask namespace。
  • 补充 AnimationMask helper 单测,覆盖骨骼路径提取、DTO 树构建、递归/非递归修改。

@Changdw Changdw requested a review from yanOO1497 June 22, 2026 10:16
@Changdw Changdw closed this Jun 22, 2026
@Changdw Changdw reopened this Jun 22, 2026
@Changdw Changdw closed this Jun 23, 2026
@Changdw Changdw reopened this Jun 23, 2026
@Changdw Changdw closed this Jun 23, 2026
@Changdw Changdw reopened this Jun 23, 2026
@Changdw Changdw closed this Jun 23, 2026
@Changdw Changdw reopened this Jun 23, 2026
@Changdw Changdw closed this Jun 23, 2026
@Changdw Changdw reopened this Jun 23, 2026
@Changdw Changdw closed this Jun 23, 2026
@Changdw Changdw reopened this Jun 23, 2026
@star-e star-e merged commit 7c02fa7 into cocos:main Jun 23, 2026
7 of 11 checks passed
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.

2 participants